Bug 45696

Informational

GemBuilder for Smalltalk/VW

8.5, 8.4, 8.3, 8.2, 8.1, 7.6.1, 7.6, 7.5, 7.4.1, 7.3.3, 7.3.2, 7.1.2, 6.2

All Platforms

Using instancesAreForwarders without a class connector can cause problems

Client classes that implement the class side method #instancesAreForwarders to return true should also establish a class connector for this class.  This is to insure that a replication clamp is setup on the server during login that recognizes the client will be treating instances of this class as a forwarder, and not attempt to ship back for replication unnecessary data.

Usually this unnecessary data is just ignored by the client, but in certain cases can cause spurious errors.  For example, if the GBS client has generateClientClasses disabled, and the unnecessary data sent back happens to contain an instance of a class not known by the client, this will trigger a "No client class... class generation is disabled" error.

Workaround

Establish class connectors for all classes implementing #instancesAreForwarders.


Last updated: 11/17/17