Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2017-10-09 17:02:58

etc
Developer
Registered: 2010-11-11
Posts: 2,354
Website

Re: Impossible to save ...

Then my only guess is that textile_body or/and textile_excerpt fields in textpattern table are incorrectly saved as empty strings instead of 0.


etc_[ query | search | pagination | date | tree | cache ]

Offline

#12 2017-10-09 17:51:46

jpdupont
Member
From: Virton (BE)
Registered: 2004-10-01
Posts: 647
Website

Re: Impossible to save ...

Table structure :

20	textile_body	varchar(32)	utf8mb4_unicode_ci		Non	1		
21	textile_excerpt	varchar(32)	utf8mb4_unicode_ci		Non	1

and in a record :

textile_body	varchar(32)			
0
textile_excerpt	varchar(32)			
1

Offline

#13 2017-10-09 19:25:23

etc
Developer
Registered: 2010-11-11
Posts: 2,354
Website

Re: Impossible to save ...

Can not reproduce and short of ideas, sorry. Something seems to alter textile_body, dunno how. Try to inspect POST params in browsers console when saving an article, what is textile_body’s value? Have you registered any additional textfilters?


etc_[ query | search | pagination | date | tree | cache ]

Offline

#14 2017-10-09 19:46:07

jpdupont
Member
From: Virton (BE)
Registered: 2004-10-01
Posts: 647
Website

Re: Impossible to save ...

Here some POST data :

------WebKitFormBoundarylyEpGzGGYjaxZ13A
Content-Disposition: form-data; name="ID"


------WebKitFormBoundarylyEpGzGGYjaxZ13A
Content-Disposition: form-data; name="event"

article
------WebKitFormBoundarylyEpGzGGYjaxZ13A
Content-Disposition: form-data; name="step"

edit
------WebKitFormBoundarylyEpGzGGYjaxZ13A
Content-Disposition: form-data; name="sPosted"


------WebKitFormBoundarylyEpGzGGYjaxZ13A
Content-Disposition: form-data; name="sLastMod"


------WebKitFormBoundarylyEpGzGGYjaxZ13A
Content-Disposition: form-data; name="AuthorID"


------WebKitFormBoundarylyEpGzGGYjaxZ13A
Content-Disposition: form-data; name="LastModID"


------WebKitFormBoundarylyEpGzGGYjaxZ13A
Content-Disposition: form-data; name="view"


------WebKitFormBoundarylyEpGzGGYjaxZ13A
Content-Disposition: form-data; name="Title"

fdb
------WebKitFormBoundarylyEpGzGGYjaxZ13A
Content-Disposition: form-data; name="custom_1"

dsq
------WebKitFormBoundarylyEpGzGGYjaxZ13A
Content-Disposition: form-data; name="textile_body"

1
------WebKitFormBoundarylyEpGzGGYjaxZ13A
Content-Disposition: form-data; name="Body"

<p>qds</p>
------WebKitFormBoundarylyEpGzGGYjaxZ13A
Content-Disposition: form-data; name="from_view"

text
------WebKitFormBoundarylyEpGzGGYjaxZ13A
Content-Disposition: form-data; name="Status"

4
------WebKitFormBoundarylyEpGzGGYjaxZ13A
Content-Disposition: form-data; name="Section"

vie-associative
------WebKitFormBoundarylyEpGzGGYjaxZ13A
Content-Disposition: form-data; name="custom_2"

Offline

#15 2017-10-09 19:55:32

etc
Developer
Registered: 2010-11-11
Posts: 2,354
Website

Re: Impossible to save ...

No textile_excerpt parameter (normally following Body)? This could be the key.


etc_[ query | search | pagination | date | tree | cache ]

Offline

#16 2017-10-09 20:19:15

jpdupont
Member
From: Virton (BE)
Registered: 2004-10-01
Posts: 647
Website

Re: Impossible to save ...

That was the key!
Yesterday, before resuming the editing of articles, I unchecked the option “articles have a summary”! I just reactivated the excerpt and now it works !!!

Now where is the bug? —> I just created a brand new installation, with the latest 4.7. I have the same problem if I do not use a summary: can not save.

Offline

#17 2017-10-09 20:27:55

etc
Developer
Registered: 2010-11-11
Posts: 2,354
Website

Re: Impossible to save ...

I guess you are the first person having activated this feature! Should be fixed in the latest dev now, please test.


etc_[ query | search | pagination | date | tree | cache ]

Offline

#18 2017-10-09 20:51:12

jpdupont
Member
From: Virton (BE)
Registered: 2004-10-01
Posts: 647
Website

Re: Impossible to save ...

With the latest version, all is well!

Thank you Oleg, for the attention paid to my problem throughout the day. I really appreciate.

Offline

Board footer

Powered by FluxBB