plone / Products.CMFPlone

The core of the Plone content management system
https://plone.org
GNU General Public License v2.0
254 stars 191 forks source link

Plone 5 Shows Error When Saving Default Values for Dexterity Fields #2629

Closed CorySanin closed 1 year ago

CorySanin commented 5 years ago

BUG/PROBLEM REPORT (OR OTHER COMMON ISSUE)

What I did: (All steps done TTW) Create a new Dexterity type, give it a text field, and attempt to save a default value.

What I expect to happen: Defaults should save without an error

What actually happened: An error is shown

What version of Plone/ Addons I am using: 5.0.8

The bug occurs because it tries to also save defaults for behaviors. But afaik behaviors can't have defaults set, or at least not in the same way as regular fields. plone.schemaeditor 2.0.20 fixes this bug. Plone 5.0.8 is using plone.schemaeditor 2.0.17.

jensens commented 1 year ago

I close the issue, because it addresses a Plone version that is no longer supported. If you think this is wrong please reopen the issue and assign a matching milestone.