Menu

#129 AttributeError after copy&paste of an article

open
5
2005-04-14
2005-04-14
sts
No

If you try to rename a PloneArticle directly after you
copied & pasted it from another PloneArticle you will
get the following error:

AttributeError: 'NoneType' object has no
attribute 'getReferenceImpl'

Here is the Output of the Plone error.log:

Traceback (innermost last):
Module ZPublisher.Publish, line 100, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 40, in call_object
Module
Products.CMFFormController.FSControllerPageTemplate
, line 98, in __call__
Module
Products.CMFFormController.BaseControllerPageTempl
ate, line 39, in _call
Module Products.CMFFormController.ControllerBase,
line 243, in getNext
Module
Products.CMFFormController.Actions.TraverseTo, line
36, in __call__
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 40, in call_object
Module
Products.CMFFormController.FSControllerPythonScript,
line 105, in __call__
Module Products.CMFFormController.Script, line 141,
in __call__
Module Products.CMFCore.FSPythonScript, line 104,
in __call__
Module Shared.DC.Scripts.Bindings, line 306, in
__call__
Module Shared.DC.Scripts.Bindings, line 343, in
_bindAndExec
Module Products.CMFCore.FSPythonScript, line 160,
in _exec
Module None, line 11, in content_edit
- <FSControllerPythonScript
at /WDW/portal/content_edit used
for /WDW/portal/copy_of_fgfh>
- Line 11
Module Products.Archetypes.BaseObject, line 574, in
processForm
Module Products.Archetypes.BaseObject, line 565, in
_processForm
- __traceback_info__: (<PloneArticle
at /WDW/portal/copy_of_fgfh>, <Field id(string:rw)>,
<bound method PloneArticle.setId of <PloneArticle
at /WDW/portal/copy_of_fgfh>>)
Module Products.Archetypes.utils, line 85, in mapply
Module Products.Archetypes.BaseObject, line 186, in
setId
Module OFS.CopySupport, line 259, in
manage_renameObject
Module OFS.ObjectManager, line 277, in _setObject
Module Products.PloneArticle.PloneArticle, line 192,
in manage_afterAdd
Module Products.PloneArticle.AttachmentMixin, line
459, in getContentReferences
AttributeError: 'NoneType' object has no
attribute 'getReferenceImpl'

Discussion


Log in to post a comment.