[Product-Developers] plone.app.portlets: how to add new field to existing schema?

Johannes Raggam raggam-nl at adm.at
Tue Feb 15 10:22:51 UTC 2011


hey all,

how can i add a new schema field to an already registered portlet?

when i want to visit the edit form of the portlet, i get an error,
saying that the new attribute does not exist. for me, it seems that this
is a but somewhere between plone.app.portlets and zope.formlib.



2011-02-14 23:11:55 ERROR Zope.SiteErrorLog 1297721515.110.63984381121
http://localhost:8880/info/uber-uns/geschichte/++contextportlets
++plone.rightcolumn/show-galleries-portlet/edit
Traceback (innermost last):
  Module ZPublisher.Publish, line 127, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 47, in call_object
  Module plone.app.portlets.browser.formhelper, line 123, in __call__
  Module zope.formlib.form, line 782, in __call__
  Module five.formlib.formbase, line 50, in update
  Module zope.formlib.form, line 745, in update
  Module zope.formlib.form, line 820, in setUpWidgets
  Module zope.formlib.form, line 408, in setUpEditWidgets
  Module zope.schema._bootstrapfields, line 173, in get
AttributeError: image_size


-- 
johannes raggam / thet
python plone zope development
http://johannes.raggam.co.at/
mailto:johannes at raggam.co.at
http://bluedynamics.com/




More information about the Product-Developers mailing list