Error while add field on second fieldset
lwalther opened this issue · comments
we try to add a new field to second fieldset with fieldset id=1 - the following error occurs:
2022-05-16 11:32:37,319 ERROR [Zope.SiteErrorLog:252][waitress-0] 1652693557.31834030.9169668879505357 https://devel.uv-kooperation.de/formulare/formular-fuer-bewirtung-und-sonstige-dienstleistungen-der-rd-west-bonn/@@fields/@@add-field
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 ZPublisher.WSGIPublisher, line 63, in call_object
Module plone.z3cform.layout, line 63, in call
Module plone.z3cform.layout, line 57, in update
Module z3c.form.form, line 281, in render
Module z3c.form.form, line 162, in render
Module zope.browserpage.viewpagetemplatefile, line 46, in call
Module zope.pagetemplate.pagetemplate, line 133, in pt_render
Module Products.PageTemplates.engine, line 378, in call
Module z3c.pt.pagetemplate, line 176, in render
Module chameleon.zpt.template, line 302, in render
Module chameleon.template, line 192, in render
Module 065e3976313d11fda68a3ad61efbc7d2, line 115, in render
Module 30d077a8734053f33926a3902d52422b, line 802, in render_titlelessform
Module 30d077a8734053f33926a3902d52422b, line 1117, in render_fields
Module 30d077a8734053f33926a3902d52422b, line 1654, in render_widget_rendering
Module 30d077a8734053f33926a3902d52422b, line 1761, in render_field
Module zope.tales.expressions, line 250, in call
Module Products.PageTemplates.Expressions, line 225, in _eval
Module Products.PageTemplates.Expressions, line 155, in render
Module zope.browserpage.simpleviewclass, line 41, in call
Module zope.browserpage.viewpagetemplatefile, line 81, in call
Module zope.browserpage.viewpagetemplatefile, line 46, in call
Module zope.pagetemplate.pagetemplate, line 133, in pt_render
Module Products.PageTemplates.engine, line 378, in call
Module z3c.pt.pagetemplate, line 176, in render
Module chameleon.zpt.template, line 302, in render
Module chameleon.template, line 215, in render
Module chameleon.utils, line 53, in raise_with_traceback
Module chameleon.template, line 192, in render
Module 14df481eab9625c4c513dd8d67217460, line 1825, in render
Module 14df481eab9625c4c513dd8d67217460, line 329, in render_widget_wrapper
Module zope.tales.pythonexpr, line 73, in call
-
traceback_info: (getattr(widget, 'description', widget.field.description))
Module , line 1, in
AttributeError: 'NoneType' object has no attribute 'description' -
Expression: "python:getattr(widget, 'description', widget.field.description)"
-
Filename: ... /plone_app_z3cform/plone.app.z3cform.templates.widget.pt
-
Location: (line 24: col 38)
-
Source: ... python:getattr(widget, 'description', widget.field.description) ...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -
Expression: "widget/@@ploneform-render-widget"
-
Filename: ... /plone_app_z3cform/plone.app.z3cform.templates.macros.pt
-
Location: (line 86: col 81)
-
Source: ... place="structure widget/@@ploneform-render-widget"/>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -
Expression: "context/@@ploneform-macros/titlelessform"
-
Filename: ... 1.3-py3.8.egg/plone/z3cform/pagetemplates/wrappedform.pt
-
Location: (line 1: col 22)
-
Source: ... e use-macro="context/@@ploneform-macros/titlelessform" />
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -
Arguments: template: <zope.browserpage.viewpagetemplatefile.ViewPageTemplateFile object at 0x7f85e826c580>
options: {}
args: ()
nothing: None
modules: <zope.pagetemplate.engine.TraversableModuleImporter object at 0x7f85f74635e0>
request: <WSGIRequest, URL=https://devel.uv-kooperation.de/formulare/formular-fuer-bewirtung-und-sonstige-dienstleistungen-der-rd-west-bonn/@@fields/@@add-field>
view: <Products.Five.browser.metaconfigure.RenderWidget object at 0x7f85e4030d60>
context: <TextWidget 'fieldset_id'>
views: <zope.browserpage.viewpagetemplatefile.ViewMapper object at 0x7f85e4030910>
default:
repeat: <Products.PageTemplates.engine.RepeatDictWrapper object at 0x7f85f201ad00>
loop: {}
target_language: None
translate: <function BaseTemplate.render..translate at 0x7f85c779d3a0>