|Anonymous | Login||08-22-2019 18:06 UTC|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0003057||[tweak] Any||minor||always||02-22-06 22:52||02-22-06 22:52|
|Summary||0003057: Loading monticello class which used to have CObject superclass fails|
here is the use case:
I had SophieMediaEvent inherit from CObject. SophieTestingMediaEvent inherited from SophieMediaEvent.
The package that SophieTestingMediaEvent was in was not in the normal release. When Michael changed SophieMediaEvent to inherit from Object, SophieTestingMediaEvent was not in his system.
Fast forward a month or two and trying to load the package with SophieTestingMediaEvent failed, see partial log below, because its loading a class that used to inherit from CObject, but no longer does.
The hack fix was this:
* save image
* Change superclass back to CObject (borking up the class)
* Load borked package. old field IVs are deleted
* add in regular IVs back and write normal setter/getters
* check package in
* QUIT DO NOT SAVE IMAGE
* Open Image
* Reload package from MC.
* all fixed
MessageNotUnderstood: SophieTestingMediaEvent class>>classFields
22 February 2006 12:16:10 pm
VM: Mac OS - a SmalltalkImage
Image: Squeak3.8 [latest update: 0006665]
Working Dir /Users/vampira/Documents/Sophie/working images/build-6-4
Trusted Dir /Users/vampira/Documents/Sophie/working images/build-6-4
Untrusted Dir foobar/tooBar/forSqueak/bogus
Arguments and temporary variables:
Receiver's instance variables:
|There are no notes attached to this issue.|
| Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
28 total queries executed.|
25 unique queries executed.