Opened 13 years ago

Closed 13 years ago

#2750 closed defect (fixed)

JsonService.parseResults returns undefined when passed 0 (zero)

Reported by: guest Owned by: Dustin Machi
Priority: high Milestone:
Component: RPC Version: 0.4.2
Keywords: Cc:
Blocked By: Blocking:

Description

When a JSON service returns 0, JsonService?.parseResults converts it to undefined. This is because its check for a null return value matches 0. A patch against dojo 0.4.2's version of JsonService?.js is attached.

Attachments (1)

JsonService.js.patch (295 bytes) - added by guest 13 years ago.

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by guest

Attachment: JsonService.js.patch added

comment:1 Changed 13 years ago by Dustin Machi

Resolution: fixed
Status: newclosed

(In [8564]) port rpc to 0.9 and fix some other tickets along the way, fixes #2750 , fixes #2303 , fixes #2185 , refs #2915. There is still a json serialization bug, but its almost done

Note: See TracTickets for help on using tickets.