[Zope] problem with manage_importObject

Jens Vagelpohl jens at dataflake.org
Mon Mar 12 07:30:58 EDT 2007


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

> I have a problem using manage_importObject?file=... with zope2.9.
> In particular: object is successfully imported but if I shutdown and
> then reboot the server, I don't see anymore imported object. If I  
> import
> the same object using web form "Import/Export" I have not this strange
> behavior.

Are you calling manage_importObject from Python code? Are you sure  
the transaction is committed? If you're calling this in some external  
script (such as a script run via "zopectl run") without starting a  
"normal" web request you may have to explicitly commit the transaction.

jens



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFF9TnyRAx5nvEhZLIRAr1IAKCS2P+qPqMM4KN7ZX1kbBrYb7SWKwCgroTN
syUjFzgeRi6qzRKnEPP0XTI=
=tgrL
-----END PGP SIGNATURE-----


More information about the Zope mailing list