Hi Göran, I recommend using the latest r42 alpha code as you have.
I'm not sure what happened with the SortedCollections, but I'm glad you got it fixed.
Unfortunately, Magma does NOT support become through the session, because that would require knowing all references to an object in the huge repository. But yes, the MagmaFileTraverser could be useful for performing such a migration..
- Chris
On Thu, Feb 26, 2009 at 9:48 AM, Göran Krampe goran@krampe.se wrote:
Hi again!
Status report:
I managed to brute force myself through the problem with SortedCollection by converting them to OCs in the old db/image, then opening it up in the new image and converting back. So that is fixed.
Now I am facing a different issue - I have instances of Q2User (the user object in Gjallar) that now needs to "become" instance of Q2PersonalUser - a subclass of Q2User. Same ivars, just a refactoring of the hierarchy.
...ehm... do I need to use MagmaFileTraverser or does Magma have some nice hooks for picking a different class?
regards, Göran