[GemStone-Smalltalk] Namespaces in VW

Richard Sargent via GemStone-Smalltalk gemstone-smalltalk at lists.gemtalksystems.com
Wed Oct 24 09:39:18 PDT 2018


Gemstone/S mailing list wrote
> Hi,
> 	I have tried the new VW client, but I don’t know how to map classes
> between client and server.
> 
> 	Should I map :
> 
> 	Compet.Competition -> Competition
> 	or
> 
> 	Competition -> Competition ?
> 
> 	If I do the second, updateGS does not work.
> 	If I do the first, updateST does not work.

Hi Annick,

The first case should work, but there are conditions under which it will
fail. However, before we can determine what's going wrong, we need a better
understanding of what you are doing.

1. Are you establishing the connector through the dialogue and prior to
login, post login, manually, or what?
2. When you say it doesn't work, what actually happens? If you get an
exception, a detailed stack report will help enormously.

One of the greatest difficulties with name/class connectors is handling new
versions of the class. The connector creates a mapping between the objects
so identified at the time of login. A new class version has a different
object identifier and is not nor will it be mapped to the client class.

Absent a new class version, updating the client class' methods from the
server class should work.


> 	Best regards
> 
> 	Annick
> _______________________________________________
> GemStone-Smalltalk mailing list

> GemStone-Smalltalk at .gemtalksystems

> http://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk





--
Sent from: http://forum.world.st/Gemstone-S-f1461796.html


More information about the GemStone-Smalltalk mailing list