Hi All,
I am new to Zope, using Zope 2.7 and wrote a "Script Python" to delete
objects programatically(used for bulk delete).
parent.manage_delObjects(id)
After I execute the script using the Test button of the ZMI, the objects are
getting deleted properly.
But in the Undo tab, I am not able to see the transaction history
(/mysite/path/manage_delObjects by *niv)*
When I tried to add transaction.commit() the ZMI is asking for credentials.
1. How do I get the transaction recorded using Script Python?
2. Are there any other ways to achieve the same?
3. Another issue is, when I tried to invoke the delete Script Python from an
external python script using xmlrpc it threw a xmlrpclib.ProtocolError 401
Unauthorized Error. Is it because there is a manage_delObjects call?
Regs,
Niv
I am new to Zope, using Zope 2.7 and wrote a "Script Python" to delete
objects programatically(used for bulk delete).
parent.manage_delObjects(id)
After I execute the script using the Test button of the ZMI, the objects are
getting deleted properly.
But in the Undo tab, I am not able to see the transaction history
(/mysite/path/manage_delObjects by *niv)*
When I tried to add transaction.commit() the ZMI is asking for credentials.
1. How do I get the transaction recorded using Script Python?
2. Are there any other ways to achieve the same?
3. Another issue is, when I tried to invoke the delete Script Python from an
external python script using xmlrpc it threw a xmlrpclib.ProtocolError 401
Unauthorized Error. Is it because there is a manage_delObjects call?
Regs,
Niv