HarmonyCore
HarmonyCore copied to clipboard
TraditionalBridge method returning string returns HTTP 500
We have a method that returns a string (i.e., not an integer):
function methodname, a512
But calls to this function return the following:
ReportError: SYNERGEX.SYNERGYDE.SYNARGUMENTEXCEPTION: Argument specified with wrong size at HARMONY.TRADITIONALBRIDGE.ROUTINESTUB.RCBSERIALIZEARG(I,I,$HARMONY.TRADITIONALBRIDGE.FIELDDATATYPE,A,I,I,@JSON.DISPATCHSERIALIZER) in RoutineDispatcher.dbl:line 8.1395 at TRADITIONALBRIDGE.DISPATCHERS.[...].WUGETSYM_DISPATCHER.DISPATCHINTERNAL(@SYSTEM.STRING,@JSON.JSONVALUE,@JSON.DISPATCHSERIALIZER,@HARMONY.TRADITIONALBRIDGE.ROUTINEDISPATCHER) in [...]MethodDispachers.dbl:line 17.13983 at HARMONY.TRADITIONALBRIDGE.ROUTINESTUB.DISPATCH(@SYSTEM.STRING,@JSON.JSONVALUE,@JSON.DISPATCHSERIALIZER,@HARMONY.TRADITIONALBRIDGE.ROUTINEDISPATCHER) in RoutineDispatcher.dbl:line 8.1199 at HARMONY.TRADITIONALBRIDGE.ROUTINEDISPATCHER.PROCESSCALLBLOCK(@JSON.JSONVALUE,@JSON.DISPATCHSERIALIZER)I in RoutineDispatcher.dbl:line 8.1128 messageId15
i think this is fixed in https://github.com/Synergex/HarmonyCore/commit/51daaac5f658f99dacacee9d8192760622a09b67