plone / plone.z3cform

plone.z3cform is a library that allows use of z3c.form with Zope 2 and the CMF.
GNU General Public License v2.0
0 stars 0 forks source link

not compatible with z3c.form 4.x on py3 #12

Closed petschki closed 2 years ago

petschki commented 4 years ago

While investigating z3c.form 4.x compatibilty I got the following traceback:

Traceback (innermost last):
  Module ZPublisher.WSGIPublisher, line 162, in transaction_pubevents
  Module ZPublisher.WSGIPublisher, line 359, in publish_module
  Module ZPublisher.WSGIPublisher, line 262, in publish
  Module ZPublisher.mapply, line 85, in mapply
  Module ZPublisher.WSGIPublisher, line 63, in call_object
  Module plone.z3cform.layout, line 63, in __call__
  Module plone.z3cform.layout, line 47, in update
  Module plone.dexterity.browser.edit, line 58, in update
  Module plone.z3cform.fieldsets.extensible, line 64, in update
  Module plone.autoform.form, line 34, in updateFields
  Module plone.autoform.base, line 135, in updateFieldsFromSchemata
  Module plone.autoform.base, line 264, in _process_field_moves
  Module plone.autoform.base, line 244, in _process_field_moves
  Module plone.z3cform.fieldsets.utils, line 124, in move
  Module plone.z3cform.fieldsets.utils, line 34, in add
TypeError: 'odict_keys' object is not subscriptable

I try to get this fixed during plone 6 remote sprint