Fix page data related bugs

Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
Post Reply
cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Fix page data related bugs

Post by cmb » Fri Nov 21, 2014 12:28 pm

Hello Community,

Ulrich reported two bugs related to the page data:
  • The page data cleanup (Settings -> CMS -> Page Data) reports one more field that actually have been deleted (if one deletes two fields, three will be reported).
  • When saving a page_param tab ("Page") a new field "pageparams_linklist" will be added to the page data
I've written patches for both of them (http://cmsimpleforum.com/viewtopic.php? ... 216#p44736 resp. http://cmsimpleforum.com/viewtopic.php? ... 216#p44776), and these are supposed to be included in CMSimple_XH 1.6.5.

A note to developers (myself included): the second bug happened because a new field had been added to the page data form which had a name, but was not meant to be stored in the page data. Of course, that must not be done, because all named fields will be stored in the page data. So be careful there, and don't set the name attribute of auxiliary fields.

Christoph
Christoph M. Becker – Plugins for CMSimple_XH

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Fix page data related bugs

Post by cmb » Sun Dec 28, 2014 3:17 pm

Done (r1417 + r1418).
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply