plonegovbr/brasil.gov.portal

KeyError ao criar conteúdo novo num site migrado de 1.x a 2.x

hvelarde opened this issue · 1 comments

IDG 2.1rc1; após migrar um site o usuário tenta criar uma notícia e acontece o seguinte erro:

2018-10-31T13:50:21 ERROR Zope.SiteErrorLog 1541004621.580.200124588003 http://localhost:8181/foo/bar/@@edit
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.z3cform.layout, line 66, in __call__
  Module plone.z3cform.layout, line 60, in update
  Module z3c.form.form, line 162, in render
  Module zope.browserpage.viewpagetemplatefile, line 51, in __call__
  Module zope.pagetemplate.pagetemplate, line 132, in pt_render
  Module five.pt.engine, line 98, in __call__
  Module z3c.pt.pagetemplate, line 163, in render
  Module chameleon.zpt.template, line 261, in render
  Module chameleon.template, line 171, in render
  Module f7330b177449e2c2b54d7357ea131e66, line 92, in render
  Module ec2e9018ddeb12883382651af45f6732, line 1801, in render_titlelessform
  Module ec2e9018ddeb12883382651af45f6732, line 452, in render_fields
  Module ec2e9018ddeb12883382651af45f6732, line 127, in render_widget_rendering
  Module ec2e9018ddeb12883382651af45f6732, line 1070, in render_field
  Module five.pt.expressions, line 161, in __call__
  Module Products.Five.browser.metaconfigure, line 485, in __call__
  Module zope.browserpage.viewpagetemplatefile, line 83, in __call__
  Module zope.browserpage.viewpagetemplatefile, line 51, in __call__
  Module zope.pagetemplate.pagetemplate, line 132, in pt_render
  Module five.pt.engine, line 98, in __call__
  Module z3c.pt.pagetemplate, line 163, in render
  Module chameleon.zpt.template, line 261, in render
  Module chameleon.template, line 171, in render
  Module 055f843e46c909ed96c15d25a9be0afc, line 591, in render
  Module 055f843e46c909ed96c15d25a9be0afc, line 466, in render_widget_wrapper
  Module five.pt.expressions, line 161, in __call__
  Module z3c.form.widget, line 154, in render
  Module zope.browserpage.viewpagetemplatefile, line 51, in __call__
  Module zope.pagetemplate.pagetemplate, line 132, in pt_render
  Module five.pt.engine, line 98, in __call__
  Module z3c.pt.pagetemplate, line 163, in render
  Module chameleon.zpt.template, line 261, in render
  Module chameleon.template, line 191, in render
  Module chameleon.template, line 171, in render
  Module afed8fab8a72763b7f5a7f72193d76a6, line 879, in render
  Module ee9f6ef9681394875f25d77291350390, line 219, in render_wysiwygEditorBox
  Module Products.TinyMCE.browser.browser, line 129, in jsonConfiguration
  Module Products.TinyMCE.utility, line 977, in getConfiguration
  Module OFS.Traversable, line 300, in unrestrictedTraverse
   - __traceback_info__: ([], 'nitf_custom_view')
KeyError: 'nitf_custom_view'

 - Expression: "widget/@@ploneform-render-widget"
 - Filename:   ... rm-0.7.8-py2.7.egg/plone/app/z3cform/templates/macros.pt
 - Location:   (line 97: col 81)
 - Source:     ... place="structure widget/@@ploneform-render-widget"/>
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 - Expression: "python:configuration_method(field=field)"
 - Filename:   ... roducts/TinyMCE/skins/tinymce/tinymce_wysiwyg_support.pt
 - Location:   (line 14: col 32)
 - Source:     ... uration_json python:configuration_method(field=field);
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 - Arguments:

Fechado em 380dfeb.