You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a custom dexterity content type with an Image field (plone.namedfile.field.NamedBlobImage) and the versioning behavior enabled. I also installed collective.taxonomy, created a vocabulary, and added the vocabulary behavior to my content type. When I try to save the page, it throws the AttributeError.
Traceback (innermost last):
Module ZPublisher.WSGIPublisher, line 162, in transaction_pubevents
Module ZPublisher.WSGIPublisher, line 371, in publish_module
Module ZPublisher.WSGIPublisher, line 266, in publish
Module ZPublisher.mapply, line 85, in mapply
Module Products.PDBDebugMode.wsgi_runcall, line 60, in pdb_runcall
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 65, in update
Module plone.z3cform.patch, line 30, in GroupForm_update
Module z3c.form.group, line 145, in update
Module plone.app.z3cform.csrf, line 22, in execute
Module z3c.form.action, line 98, in execute
Module z3c.form.button, line 315, in __call__
Module z3c.form.button, line 170, in __call__
Module plone.dexterity.browser.edit, line 30, in handleApply
Module z3c.form.group, line 124, in applyChanges
Module zope.event, line 32, in notify
Module zope.component.event, line 27, in dispatch
Module zope.component._api, line 134, in subscribers
Module zope.interface.registry, line 448, in subscribers
Module zope.interface.adapter, line 899, in subscribers
Module zope.component.event, line 36, in objectEventNotify
Module zope.component._api, line 134, in subscribers
Module zope.interface.registry, line 448, in subscribers
Module zope.interface.adapter, line 899, in subscribers
Module plone.app.versioningbehavior.subscribers, line 62, in create_version_on_save
Module Products.CMFEditions.CopyModifyMergeRepositoryTool, line 332, in save
Module Products.CMFEditions.CopyModifyMergeRepositoryTool, line 500, in _recursiveSave
Module Products.CMFEditions.ArchivistTool, line 267, in prepare
Module Products.CMFEditions.ModifierRegistryTool, line 135, in getReferencedAttributes
Module plone.app.versioningbehavior.modifiers, line 119, in getReferencedAttributes
Module Products.CMFEditions.CopyModifyMergeRepositoryTool, line 410, in retrieve
Module Products.CMFEditions.CopyModifyMergeRepositoryTool, line 558, in _retrieve
Module Products.CMFEditions.CopyModifyMergeRepositoryTool, line 634, in _recursiveRetrieve
Module Products.CMFEditions.ArchivistTool, line 342, in retrieve
Module Products.CMFEditions.ArchivistTool, line 510, in __getitem__
Module Products.CMFEditions.ModifierRegistryTool, line 162, in reattachReferencedAttributes
Module plone.app.versioningbehavior.modifiers, line 184, in reattachReferencedAttributes
Module plone.behavior.registration, line 96, in lookup_behavior_registration
AttributeError: 'TaxonomyBehavior' object has no attribute 'former_dotted_names'
Perhaps lookup_behavior_registration should check if the behavior has the attribute former_dotted_names before executing:
Plone = 5.2.6
plone.behavior = 1.4.0
collective.taxonomy = 2.2.1
I have a custom dexterity content type with an Image field (plone.namedfile.field.NamedBlobImage) and the versioning behavior enabled. I also installed collective.taxonomy, created a vocabulary, and added the vocabulary behavior to my content type. When I try to save the page, it throws the AttributeError.
Perhaps
lookup_behavior_registration
should check if the behavior has the attributeformer_dotted_names
before executing:plone.behavior/plone/behavior/registration.py
Line 96 in 3f6d9cb
The text was updated successfully, but these errors were encountered: