[Pharo-project] Migration morph objects from 1.1 to 1.2
Hello I have many morphs saved in files by smartReferenceStream. I doing it in pharo1.1 image. Now I want to load this objects to pharo1.2. When I doing this I have exception about absent TextConstants stuff. My saved Morph containes textMorph. I know pharo1.2 has textMorph refactored and TextConstants was removed. How old object can be migrated to new stuff? Is some rules exists? For example, when I import morph from file (created in pharo1.1) I see in debugger "TextConstants class at: index" where "index=#DefaultTabsArray" Best regards, Denis
On Mar 29, 2011, at 9:57 PM, Denis Kudriashov wrote:
Hello
I have many morphs saved in files by smartReferenceStream. I doing it in pharo1.1 image. Now I want to load this objects to pharo1.2. When I doing this I have exception about absent TextConstants stuff. My saved Morph containes textMorph. I know pharo1.2 has textMorph refactored and TextConstants was removed.
What you could check is the fix in 1.3 so that TextConstants accept at:.
How old object can be migrated to new stuff? Is some rules exists? For example, when I import morph from file (created in pharo1.1) I see in debugger "TextConstants class at: index" where "index=#DefaultTabsArray"
http://code.google.com/p/pharo/issues/detail?id=3820 Can you try and let us know? I still do not get why the search in the bug entry is so bad for a company that is specialized in search engines :)
Best regards, Denis
Ok, I load my morph. I just implement "TextConstants class>>at: aSymbol" with: "^classPool at: aSymbol". Now all work good. But I want to now what really changed in TextConstants stuff? 2011/3/29 Denis Kudriashov <dionisiydk@gmail.com>
Hello
I have many morphs saved in files by smartReferenceStream. I doing it in pharo1.1 image. Now I want to load this objects to pharo1.2. When I doing this I have exception about absent TextConstants stuff. My saved Morph containes textMorph. I know pharo1.2 has textMorph refactored and TextConstants was removed.
How old object can be migrated to new stuff? Is some rules exists? For example, when I import morph from file (created in pharo1.1) I see in debugger "TextConstants class at: index" where "index=#DefaultTabsArray"
Best regards, Denis
Hi denis Check the archive of the list since we already explained it at least two times :) Let us know if you have questions after. Basically turning the last dictionary into a SharedPool. We should finish to clean the sharedPool now. Stef On Mar 29, 2011, at 10:12 PM, Denis Kudriashov wrote:
Ok, I load my morph.
I just implement "TextConstants class>>at: aSymbol" with: "^classPool at: aSymbol". Now all work good. But I want to now what really changed in TextConstants stuff?
2011/3/29 Denis Kudriashov <dionisiydk@gmail.com> Hello
I have many morphs saved in files by smartReferenceStream. I doing it in pharo1.1 image. Now I want to load this objects to pharo1.2. When I doing this I have exception about absent TextConstants stuff. My saved Morph containes textMorph. I know pharo1.2 has textMorph refactored and TextConstants was removed.
How old object can be migrated to new stuff? Is some rules exists? For example, when I import morph from file (created in pharo1.1) I see in debugger "TextConstants class at: index" where "index=#DefaultTabsArray"
Best regards, Denis
Thanks for reply. I should search mails first. 2011/3/30 Stéphane Ducasse <stephane.ducasse@inria.fr>
Hi denis
Check the archive of the list since we already explained it at least two times :) Let us know if you have questions after. Basically turning the last dictionary into a SharedPool. We should finish to clean the sharedPool now.
Stef
On Mar 29, 2011, at 10:12 PM, Denis Kudriashov wrote:
Ok, I load my morph.
I just implement "TextConstants class>>at: aSymbol" with: "^classPool at: aSymbol". Now all work good. But I want to now what really changed in TextConstants stuff?
2011/3/29 Denis Kudriashov <dionisiydk@gmail.com> Hello
I have many morphs saved in files by smartReferenceStream. I doing it in pharo1.1 image. Now I want to load this objects to pharo1.2. When I doing this I have exception about absent TextConstants stuff. My saved Morph containes textMorph. I know pharo1.2 has textMorph refactored and TextConstants was removed.
How old object can be migrated to new stuff? Is some rules exists? For example, when I import morph from file (created in pharo1.1) I see in debugger "TextConstants class at: index" where "index=#DefaultTabsArray"
Best regards, Denis
participants (2)
-
Denis Kudriashov -
Stéphane Ducasse