#26 — Plone 4 compatibility (archetypes tool)

by Michael Smith last modified Dec 23, 2010 05:07 PM
State Unconfirmed
Version:
Area ArrayField
Issue type Patch
Severity Medium
Submitted by Michael Smith
Submitted on Dec 23, 2010
Responsible
Target release:
Using https://svn.plone.org/[…]/EnhancedArrayWidget.py@13382

around line 78 needs
atool = getattr(atool, "tool", atool)

right after the initial definition of atool for plone 4 compatibility. getToolByName(context, 'archetype_tool') returns a fauxArchetypeTool now, which doesn't have a listTypes method, causing EnhancedArrayWidget to crash.

No responses can be added.