[Zope] adding product-based objects programmatically
Jens Vagelpohl
jens at dataflake.org
Thu Aug 3 09:05:54 EDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> Your remark appeared (and presumably is) valid, although I do not
> understand
> why adding acl_user folders has no problems with that. So, I
> additionally
> defined manage_afterAdd. However I got the same error. Any more
> pointers? By
> the way, where are 'manage_afterAdd' and friends documented?
Google? The source code? Dunno.
> a.. Module ZPublisher.Publish, line 101, in publish
> b.. Module ZPublisher.mapply, line 88, in mapply
> c.. Module ZPublisher.Publish, line 39, in call_object
> d.. Module Products.QuerySet.QuerySet, line 81, in
> manage_addQuerySet
> e.. Module OFS.ObjectManager, line 276, in _setObject
> f.. Module Products.QuerySet.QuerySet, line 114, in manage_afterAdd
> g.. Module Products.Query.Query, line 80, in manage_addQuery
> AttributeError: Destination
This error is obviously coming from your own source code, and since I
don't see that code I can't help.
jens
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFE0fSzRAx5nvEhZLIRAoYGAJ9Ic5o/B0SQoe0k459Lre37f0qwVQCdGXhV
R9oDTi32WNJNhrIYUidfBSI=
=diJA
-----END PGP SIGNATURE-----
More information about the Zope
mailing list