Dennis Riedel
unread,Feb 21, 2010, 8:30:44 AM2/21/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dev-un-informedorg
Hi
When importing the Excelsheet data, I not only write information once, but also load and update it later.
This is when I have saved the documents and clause bodies and afterwards want to save their parent relations. So I load the object whos parent I have identified and set its parent id. After that, the version number is aumented.
As we had spoke about it, the Versionable behavior was meant to be used for rollbacks, correct?
As I see Versionable in action now, the rollback could actually only been done after the intial import, but not after the records of a document or clause from one import have been changed manually over the admin interface, as the version number change with every "save()".
Should I find another way to save the parent relation instead of my current way of updating the object?
Regards,
Dennis