Rehoming obsolete instances

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Rehoming obsolete instances

keith1y
Hello,

Is there a simple way of rehoming obsolete instances?

Keith

Reply | Threaded
Open this post in threaded view
|

Re: Rehoming obsolete instances

keith1y
Keith Hodges wrote:
> Hello,
>
> Is there a simple way of rehoming obsolete instances?
>
> Keith
>
>
ok .. I sussed it.

ClassDescription class-#fixObsoleteInstances

 ([ self nonObsoleteClass ] ifError: [ ^ false ]) updateInstancesFrom: self.

^ true

"
SystemNavigation default obsoleteBehaviors reject: [ :c | c
fixObsoleteInstances ].
"