http://issues.jabsorb.org/show_bug.cgi?id=60
Summary: unmarshalling a Map that contains an empty array as one
of it's values fails
Product: jabsorb
Version: 1.3
Status: NEW
Severity: defect
Priority: medium
Component: server
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Unmarshalling a Map that contains an empty array as one of it's values fails.
jsonrpc.test.echoMap({ javaClass:"java.util.HashMap", map: {"zero": [], "one":
[1], "two": [1,2]}})
causes the server to send back:
{
"error": {
"code": 592,
"msg": "arg 1 could not unmarshall"
},
"id": 10
}
whereas
jsonrpc.test.echoMap({ javaClass:"java.util.HashMap", map: {"one": [1], "two":
[1,2],"three":[1,2,3]}})
works just fine
I've added a new unit test to the 1.3 branch to demonstrate this (SVN checkin
454) but have not yet determined the cause of the issue.
--
Configure bugmail: http://issues.jabsorb.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
Jabsorb-dev mailing list
[email protected]
http://lists.jabsorb.org/mailman/listinfo/jabsorb-dev