Store bugs

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

Store bugs

cdavidshaffer
 I'm trying to move a bundle from vw7.7 to vw7.7.1.  I'm having two
problems with the version loaded in vw7.7.1:

1) I have a namespace.  In that namespace I have a class called View.
This namespace and several of the classes it defines are contained in
the bundle.  Upon loading these classes in my new image they end up
being subclasses of UI.View

2) One of the classes defined in a published package is being published
as though its definition is not in the package.  (Browsing the package
from the store repository shows the class has methods in the package but
not a definition.)  This is true if I browse it from 7.7.1 or 7.7 so it
appears that the class definition is /not/ being published.

I realize that it is difficult to diagnose these things in e-mail but
I'm hoping for a clue or two as to where to look for the problem...

David

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

Re: Store bugs

David Lattimore
Don't know if this could be related to your problem, but I observed a
problem a while back with a class definition not getting published.  In
the end I was able to reproduce it with the following steps.

1) Take an already published package with a class A in it
2) Rename A to B
3) Create new class A
4) Publish
5) Reconcile package with database and note that the renamed class B
wasn't published

I've observed the above behaviour in VW7.7 and VW7.7.1.  VW7.6 behaves
as expected.

I seem to recall I had trouble getting the class definition into store
even after reconciling and had to define the class in a clean image,
then load the package, move the class into the package and publish.

David

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

Re: Store bugs

Samuel S. Shuster-2
In reply to this post by cdavidshaffer
David:

> This namespace and several of the classes it defines are contained in
> the bundle.


If the Namespace and the classes in the Namespace are in the same Package, perhaps putting the Namespace in it's own Package and having it load before the classes would work better.

                                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
Reply | Threaded
Open this post in threaded view
|

Re: Store bugs

Samuel S. Shuster-2
In reply to this post by David Lattimore
David (Price) Lattimore:

> 1) Take an already published package with a class A in it
> 2) Rename A to B
> 3) Create new class A
> 4) Publish
> 5) Reconcile package with database and note that the renamed class B
> wasn't published

This has been fixed in 7.8 due out this winter.

                                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