10 Mar
2013
10 Mar
'13
8:19 p.m.
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