ProcessWire icon indicating copy to clipboard operation
ProcessWire copied to clipboard

fields disappear from template

Open valieand opened this issue 9 years ago • 1 comments

I can't reproduce this issue but it appeared twice at my site. But it looks critical, so posting it here for your info.

On save, few fields disappeared without any "deletion" notice in user template. First time it was system language field and own fieldsettab field. Second time it was system language and admin_theme fields, plus own fieldsettab and page field. Both times I had to enable advanced mode and add them back to template.

PW version is 2.7.2. I use PHP7 and all tables are innodb. I haven't seen such strange issue during 3 years with PW and may only attribute it to recent upgrade to PHP7 and innodb?

valieand avatar Jul 17 '16 12:07 valieand

I'm not aware of any issues that should lead to what you described, but if you are using PHP7, I would probably suggest using PW 2.8.x or 3.0.x. For InnoDB, you'd also want to make sure that your MySQL version is at least 5.6.4 or newer, otherwise InnoDB is going to be problematic with any PW text field. This is the first I've heard of this particular issue, and sounds like there isn't a obvious way to reproduce, so not sure what we can do other than keep an eye out and see if you find a way to reproduce, or see if it turns up for anyone else. I'm also going to setup an installation here using the same config you've described and start working with it just to see if anything jumps out.

ryancramerdesign avatar Jul 25 '16 10:07 ryancramerdesign