Ticket #20219 (new Bug)
can't edit existing collection-portlets after upgrade to plone.portlet.collection 2.1.6
Reported by: | pbauer | Owned by: | davisagli |
---|---|---|---|
Priority: | minor | Milestone: | 4.x |
Component: | Upgrade/Migration | Version: | 4.3 |
Keywords: | Cc: | pbauer |
Description
plone.portlet.collection 2.1.6 (included in Plone 4.3.4) introduced a new field 'exclude_context' that prevents portlets created with earlier versions to be edited.
Traceback (innermost last): Module ZPublisher.Publish, line 138, in publish Module ZPublisher.mapply, line 77, in mapply Module ZPublisher.Publish, line 48, in call_object Module plone.app.portlets.browser.formhelper, line 126, in __call__ Module zope.formlib.form, line 795, in __call__ Module five.formlib.formbase, line 50, in update Module zope.formlib.form, line 758, in update Module zope.formlib.form, line 833, in setUpWidgets Module zope.formlib.form, line 412, in setUpEditWidgets Module zope.schema._bootstrapfields, line 215, in get AttributeError: exclude_context
Note: See
TracTickets for help on using
tickets.
I ran into the same issue on a site upgraded from 4.1.6 to 4.3.4.1. Maybe this could be an upgrade step, since it's not throwing an error from within the plone.portlet.collection product?
For what it's worth, my fix (run from the debug prompt) was: