store load bug

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

store load bug

John Brant-2
Store can remove published methods when loading:

1) Define a class "Foo".
2) Define a subclass "Foo1".
3) Add a method to Foo1 (Foo1>>bar).
4) Publish to store (two classes and one method).
5) Change Foo1 to be a subclass of Object.
6) Remove class Foo.
7) Publish (one class and one method).
8) Load the first version with both Foo and Foo1.
9) Load the latest version with only Foo1.

At this point you'll only have Foo1 in your package, but that class will
not contain the #bar method. Furthermore, your package will show as
unchanged. If you reconcile with the latest store version, it will then
notice that the method has been removed.


John Brant
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: store load bug

Samuel S. Shuster-2
John:

> Store can remove published methods when loading:
>
> 1) Define a class "Foo".
> 2) Define a subclass "Foo1".
> 3) Add a method to Foo1 (Foo1>>bar).
> 4) Publish to store (two classes and one method).
> 5) Change Foo1 to be a subclass of Object.
> 6) Remove class Foo.
> 7) Publish (one class and one method).
> 8) Load the first version with both Foo and Foo1.
> 9) Load the latest version with only Foo1.
>
> At this point you'll only have Foo1 in your package, but that class will
> not contain the #bar method. Furthermore, your package will show as
> unchanged. If you reconcile with the latest store version, it will then
> notice that the method has been removed.


We think we see the problem, and will get a fix for 7.8.

                                And So It Goes
                                     Sames
______________________________________________________________________

Samuel S. Shuster [|]
VisualWorks Engineering, Store Project
Smalltalk Enables Success -- What Are YOU Using?




_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc