Bug 47021

GemStone/S 64 Bit

3.3.6, 3.3.5, 3.3.4, 3.3.3, 3.3.1, 3.3, 3.2.15, 3.2.14, 3.2.13, 3.2.12, 3.2.11, 3.2.10, 3.2.9, 3.2.8, 3.2.7, 3.2.6, 3.2.5, 3.2.4, 3.2.3, 3.2.2, 3.2.1, 3.2

3.4, 3.3.7

GsExternalSession>>lastResult may be incorrect with multiple sessions

GsExternalSession >> lastResult is used to fetch the results of execution.

This method fetched the result from the session that had the most recent previous access, normally a method such as isResultAvailable.  However, in an environment with multiple instance of GsExternalSession performing work, if the most recent previous session access was to a different session, GsExternalSession >> lastResult returned the results for that session, not for the receiver.

Workaround

Sending self _setSessionId ensures that the receiver's session is the current session in the GCI.


                

Last updated: 7/31/17