I'm calling a custom operation binding and passing a simple Record with three attributes set, all of which are Strings. Here is what I see on the server when running locally. Everything looks fine.
And when I compile and run the resulting war in Tomcat I see the following, where the ItemNumber attribute looks like an array or map instead of a String. ??
I'm running the latest nightly with GWT 2.0.3.
Code:
=== 2010-07-11 17:53:21,508 [0-57] DEBUG RPCManager - Request #1 (DSRequest) payload: {
values:{
IONO:"00000JAM10",
ItemNumber:"100-1-1",
IPPK:"N"
},
operationConfig:{
dataSource:"PoItem",
operationType:"custom"
},
appID:"builtinApplication",
operation:"getDefaults",
oldValues:{
IONO:"00000JAM10",
ItemNumber:"100-1-1",
IPPK:"N"
},
criteria:{
}
}
Code:
=== 2010-07-11 15:35:33,099 [85-5] DEBUG RPCManager - Request #1 (DSRequest) payload: {
values:{
IONO:"000BEAUTY8",
ItemNumber:{
"0":"1",
"1":"0",
"2":"0",
"3":"-",
"4":"1",
"5":"-",
"6":"1",
tI:2
},
IPPK:"N"
},
operationConfig:{
dataSource:"PoItem",
operationType:"custom"
},
appID:"builtinApplication",
operation:"getDefaults",
oldValues:{
IONO:"000BEAUTY8",
ItemNumber:{
"0":"1",
"1":"0",
"2":"0",
"3":"-",
"4":"1",
"5":"-",
"6":"1",
tI:2
},
IPPK:"N"
},
criteria:{
}
}
Comment