[Product-Developers] Renaming a folder-ish object w/ reference fields leading to ReferenceException

Andreas Jung lists at zopyx.com
Wed Feb 17 10:23:27 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,

I have an ATFolder derived content-types having some reference fields
referencing input and output folders for a conversion. Renaming an
instance
of the folderish object leads to the following weird error:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

    

2010-02-17 11:11:47 ERROR Zope.SiteErrorLog
1266401507.470.416498833097
http://localhost:8080/pp/deisa-primer/manage_renameObjects
Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module OFS.CopySupport, line 322, in manage_renameObjects
  Module Products.ATContentTypes.content.folder, line 87, in
manage_renameObject
  Module Products.Archetypes.OrderedBaseFolder, line 205, in
manage_renameObject
  Module OFS.CopySupport, line 381, in manage_renameObject
  Module zope.event, line 23, in notify
  Module zope.component.event, line 26, in dispatch
  Module zope.component._api, line 130, in subscribers
  Module zope.component.registry, line 290, in subscribers
  Module zope.interface.adapter, line 535, in subscribers
  Module zope.component.event, line 33, in objectEventNotify
  Module zope.component._api, line 130, in subscribers
  Module zope.component.registry, line 290, in subscribers
  Module zope.interface.adapter, line 535, in subscribers
  Module OFS.subscribers, line 116, in dispatchObjectMovedEvent
  Module OFS.subscribers, line 149, in callManageAfterAdd
  Module zopyx.authoring.content.authoringconversionfolder, line 89,
in manage_afterAdd
  Module Products.Archetypes.ClassGen, line 76, in generatedMutator
  Module Products.Archetypes.Field, line 1851, in set
   - __traceback_info__: (<AuthoringConversionFolder at
/pp/deisa-primer/conversions-primer>,
'f3f448d60204256172e40239bfc1480d', (<ATFolder at
/pp/deisa-primer/conversions-primer/published>,), [])
  Module Products.Archetypes.ReferenceEngine, line 325, in addReference
ReferenceException: Invalid target UID


Any workaround for the problem?

Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkt7w58ACgkQCJIWIbr9KYwYxwCgjr4KlV3Rgw/v19FxvRZ/JOOZ
n4YAn0jxd3mf0O4iDfJNF4kotgbbN8ZT
=dav7
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20100217/b8909ce9/attachment.vcf>


More information about the Product-Developers mailing list