[BUG] VW7.5 Store move classes between packages fails to mark methods dirty for moved class

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

[BUG] VW7.5 Store move classes between packages fails to mark methods dirty for moved class

Mike Hales
I've recently noticed a problem when using 7.5 with store.  I've moved classes between packages and published, then when I load that code in another image I get the class, but no methods, browsing in store shows that they are not there in the database.  They are there in the original image, and it thinks all is ok.  If I file out the code and file it in again, it dirties it all, and publishes ok.  This has been a real pain.

Mike

--
Mike Hales
Engineering Manager
KnowledgeScape
www.kscape.com
Reply | Threaded
Open this post in threaded view
|

RE: [BUG] VW7.5 Store move classes between packages fails to mark methods dirty for moved class

Boris Popov, DeepCove Labs (SNN)
Ouch, it might save you a fileout/filein step if you reconcile your
bundle against database after you move classes, but certainly this
should be fixed.

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On
Behalf

> Of Mike Hales
> Sent: Wednesday, May 30, 2007 3:11 PM
> To: vwnc-list
> Subject: [BUG] VW7.5 Store move classes between packages fails to mark
> methods dirty for moved class
>
> I've recently noticed a problem when using 7.5 with store.  I've moved
> classes between packages and published, then when I load that code in
> another image I get the class, but no methods, browsing in store shows
> that they are not there in the database.  They are there in the
original
> image, and it thinks all is ok.  If I file out the code and file it in
> again, it dirties it all, and publishes ok.  This has been a real
pain.
>
> Mike
>
> --
> Mike Hales
> Engineering Manager
> KnowledgeScape
> www.kscape.com

Reply | Threaded
Open this post in threaded view
|

Re: [BUG] VW7.5 Store move classes between packages fails to mark methods dirty for moved class

Alan Knight-2
In reply to this post by Mike Hales
I don't see this if I just create a simple package and move stuff out of it. Can you be more specific about anything unusual about the packages, how you're moving the classes, etc.? I note that there are two moves - "Move Definition to Package" and "Move All to Package". Using the first one would only do what you describe.

If you are actually moving the whole thing, but the change set is somehow not being marked as including those methods, then as a workaround turning off the "Use Fast Comparison" setting in Store would stop it from using the change set and make it recompute the differences in full each time. But I'd like to know the circumstances under which this happens.

At 06:10 PM 5/30/2007, Mike Hales wrote:
I've recently noticed a problem when using 7.5 with store.  I've moved classes between packages and published, then when I load that code in another image I get the class, but no methods, browsing in store shows that they are not there in the database.  They are there in the original image, and it thinks all is ok.  If I file out the code and file it in again, it dirties it all, and publishes ok.  This has been a real pain.

Mike

--
Mike Hales
Engineering Manager
KnowledgeScape
www.kscape.com

--
Alan Knight [|], Cincom Smalltalk Development

"The Static Typing Philosophy: Make it fast. Make it right. Make it run." - Niall Ross