Mantis - Squeak
Viewing Issue Advanced Details
4821 Kernel minor always 09-09-06 17:00 09-09-06 17:06
Krivanek  
 
normal  
new 3.10  
open  
none    
none  
0004821: [KernelImageOverride] Form comeFullyUpOnReload:
Form >> comeFullyUpOnReload:

original:

comeFullyUpOnReload: smartRefStream
    bits isForm ifFalse:[^self].
    "make sure the resource gets loaded afterwards"
    ResourceCollector current ifNil:[^self].
    ResourceCollector current noteResource: bits replacing: self.

override:

comeFullyUpOnReload: smartRefStream
    bits isForm ifFalse:[^self].
    "make sure the resource gets loaded afterwards"


ResourceCollector is not present in KI

Notes
(0007025)
Krivanek   
09-09-06 17:06   
The same problem in Form >> objectForDataStream:

original:

objectForDataStream: refStream
    | prj repl |
    prj _ refStream project.
    prj ifNil:[^super objectForDataStream: refStream].
    ResourceCollector current ifNil:[^super objectForDataStream: refStream].
    repl _ ResourceCollector current objectForDataStream: refStream fromForm: self.
    ^repl

override:

objectForDataStream: refStream
    | prj |
    prj := refStream project.
    prj ifNil:[^super objectForDataStream: refStream].
    ^ nil