Skip to content

Commit c369791

Browse files
authored
feat(upgrade): mention the boolean fields changes
See the context in zopefoundation/zope.schema#104
1 parent d5a9555 commit c369791

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/backend/upgrading/version-specific-migration/upgrade-to-60.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,3 +650,8 @@ Plone 6.0 makes changes to two viewlet managers:
650650
One final change is that Plone 6.0 moves the `plone.footer` viewlet from `plone.app.layout/viewlets` to `plone.app.portlets`.
651651
The viewlet remains in manager `plone.portalfooter`.
652652
It renders the portlets from the `plone.footerportlets` portlet manager.
653+
654+
## Boolean fields
655+
656+
Since `zope.schema==6.1.0` all `zope.schema.Bool` fields need to have a `required=False` attribute,
657+
otherwise, you will not be able to save the form without marking the checkbox, which effectively turns that field to be always `True`.

0 commit comments

Comments
 (0)