0
版本:敏捷和上的Plone TinyMCE的1.3 4.1.6
- 的Plone 4.1.6
- TinyMCE的1.3.5
- plone.app.dexterity 1.2.1
- plone.dexterity 1.1。 2
我在網站上升級TinyMCE以修復我們在舊版本中看到的一些錯誤。但升級到1.3.5,編輯自定義靈巧的類型後引發此錯誤:
URL: file:/Users/chrissy/.buildout/eggs/Products.TinyMCE-1.3.5-py2.6.egg/Products/TinyMCE/skins/tinymce/tinymce_wysiwyg_support.pt
Line 6, Column 2
Expression: <PythonExpr configuration_method(field=field)>
Names:
{'args':(),
'context': <Container at /a4a/archives/2012>,
'default': <object object at 0x107e61ca0>,
'loop': {},
'nothing': None,
'options': {},
'repeat': {},
'request': <HTTPRequest, URL=http://localhost:51117/a4a/archives/2012/++add++a4a.archives.historyitem>,
'template': <zope.browserpage.viewpagetemplatefile.ViewPageTemplateFile object at 0x10e662e50>,
'view': <RichTextWidget 'form.widgets.text'>,
'views': <zope.browserpage.viewpagetemplatefile.ViewMapper object at 0x110605cd0>}
Module Products.PageTemplates.ZRPythonExpr, line 48, in __call__
__traceback_info__: configuration_method(field=field)
Module PythonExpr, line 1, in <expression>
Module Products.TinyMCE.browser.browser, line 127, in jsonConfiguration
Module Products.TinyMCE.utility, line 957, in getConfiguration
Module Products.CMFPlone.browser.ploneview, line 309, in bodyClass
Module plone.app.layout.globals.layout, line 133, in bodyClass
AttributeError: 'View' object has no attribute 'getId'
的自定義類型使用plone.app.textfield.RichText
。默認類型(使用Archetypes)工作正常。
我使用的是將在此版本的Plone工作的最新敏捷,但有一個不同版本的TinyMCE的,我可以用,不會造成這個錯誤?
謝謝,赫克託。不幸的是,這個版本不包括我所需要的修復。 – cdw9
問題是[此提交](https://github.com/plone/Products.TinyMCE/commit/fe5392343dec32eace38ba406da4c5c02518a9f0);你可以嘗試發佈1.3.5。 – hvelarde