Versionable and the parent relations

0 views
Skip to first unread message

Dennis Riedel

unread,
Feb 21, 2010, 8:30:44 AM2/21/10
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
Reply all
Reply to author
Forward
0 new messages