Mantis Bugtracker

Viewing Issue Advanced Details Jump to Notes ] View Simple ] 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
Reporter sriggins View Status public  
Assigned To
Priority normal Resolution open Platform
Status new   OS
Projection none   OS Version
ETA none Product Build
Summary 0003057: Loading monticello class which used to have CObject superclass fails
Description 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
* 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]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
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

SophieTestingMediaEvent class(Object)>>doesNotUnderstand:
Receiver: SophieTestingMediaEvent
Arguments and temporary variables:
aMessage: classFields
Receiver's instance variables:
Steps To Reproduce
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
02-22-06 22:52 sriggins New Issue

Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker