Bug 47868

GemStone/S 64 Bit

3.4.3, 3.4.2

3.5, 3.4.4

GsExternalSession fails with gemNRS: string argument

GsExteranalSession login parameters can accept an instance of GsNetworkResourceString or an String containing NRS as an argument.  The use of strings for the gemNRS: is broken.

Workaround

File in the following as SystemUser, and commit.

category: 'Parameters'
method: GsExternalSession
gemNRS: anNRS
  "Set the GemService parameters for the logon to the value
   of anNRS, which may be a String or a GsNetworkResourceString instance."

  parameters gemService: anNRS asString .
  (anNRS isKindOf: GsNetworkResourceString) ifTrue:[
    self dynamicInstVarAt: #gemHost put: anNRS node .
  ].
%

Last updated: 2/8/19