Hello, My application is based on Grok. Whenver, I change a method-name or add a method to a Model, Grok fails to load the previous version from the ZODB. I resorted to writing simple generations (zope.generations) to update the stored model objects.
For 'method name' changes, this basically means:
1. create new object
2. copy every single attribute of old-object to the new-object
3. delete old-object
4. save new-object
How does everyone else do this? Or is there a way to make grok/zope/zodb
not persist the method-names and signatures in a content component (grok
Model)?
--
Joshua Immanuel
HiPro IT Solutions Private Limited
http://hipro.co.in
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Zope-Dev maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
