Using Plone 2.1.1; here.text is CMFDocument i believe
in ATContentType its here.getBody -- I believe what you
want in Plone 2.1.1 is to get the PrimaryFieldMarshaller.
I would suggest requiring Zope 2.8.x so we can use
adapters.
Also EnSimpleStaging from SVN requires Zope 2.8.x
because we use adapters. Also a problem is we are both
shipping ZopeVersionControl.
in alpha2 CMFUid and CMFTestCase are both there. What
versions of CMF/Plone are required?
-- rollback is working quite well! We need some major
UI work done on CMFEditions.
Traceback (innermost last):
Module ZPublisher.Publish, line 113, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 40, in call_object
Module Shared.DC.Scripts.Bindings, line 311, in __call__
Module Shared.DC.Scripts.Bindings, line 348, in
_bindAndExec
Module Products.CMFCore.FSPageTemplate, line 195, in
_exec
Module Products.CMFCore.FSPageTemplate, line 134, in
pt_render
Module Products.PageTemplates.PageTemplate, line 104,
in pt_render
- <FSPageTemplate at /Plone/versions_history_form
used for /Plone/Members/admin/test123.html>
Module TAL.TALInterpreter, line 206, in __call__
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 711, in do_useMacro
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 742, in do_defineSlot
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 690, in do_defineMacro
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 734, in do_defineSlot
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 677, in do_condition
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 711, in do_useMacro
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 477, in do_setLocal_tal
Module Products.PageTemplates.TALES, line 221, in
evaluate
- URL:
file:CMFEditions/skins/cmfeditions_views/version_document_view.pt
- Line 133, Column 14
- Expression: <PythonExpr len(here.text)>
- Names:
{'container': <PloneSite at /Plone>,
'context': <ATDocument at
/Plone/Members/admin/test123.html>,
'default': <Products.PageTemplates.TALES.Default
instance at 0x01112F30>,
'here': <ATDocument at
/Plone/Members/admin/test123.html>,
'loop':
<Products.PageTemplates.TALES.SafeMapping object at
0x057F8BC0>,
'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x011085A8>,
'nothing': None,
'options': {'args': ()},
'repeat':
<Products.PageTemplates.TALES.SafeMapping object at
0x057F8BC0>,
'request': <HTTPRequest,
URL=http://admin.mysite.com/Members/admin/test123.html/versions_history_form>,
'root': <Application at >,
'template': <FSPageTemplate at
/Plone/versions_history_form used for
/Plone/Members/admin/test123.html>,
'traverse_subpath': [],
'user': admin}
Module Products.PageTemplates.ZRPythonExpr, line 47,
in __call__
- __traceback_info__: len(here.text)
Module Python expression "len(here.text)", line 1, in
<expression>
AttributeError: text
Logged In: YES
user_id=1432017
I've reported this at
http://plone.org/products/cmfeditions/issues/5
still not fixed