Bug 44403

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.4, 7.3.3, 7.3.2, 7.3.1, 7.3, 7.2.2, 7.2.1, 7.2, 7.1.2, 7.1.1, 7.1, 7.0.2, 7.0.1, 7.0

All Platforms

n/a

#replicationSpec not utilized on first replication if class not connected

If you have a class MyClass defined on both client and server, with a #replicationSpec defined for that class on the client, and *do not* have a class connector established for this class, then the very first time an instance of this class is replicated from the server to the client, the replicated instance on the client will not take the #replicationSpec into account. For example, if an instvar is configured as #forwarder, the first replicated instances will replicate the contents instead.

During the replication of this first instance, an auto-generated class connector will be made and all subsequent replicated instances will be correct.

Workaround

To use a replicationSpec when replicating instance to the client, you must setup the class connector before performing the replication.


Last updated: 6/20/14