Opened 9 years ago

Closed 8 years ago

#11689 closed defect (duplicate)

dirtyObjects not properly set when revertOnError is true in JsonRest

Reported by: goriol Owned by: Kris Zyp
Priority: high Milestone: tbd
Component: DojoX Data Version: 1.5
Keywords: Cc:
Blocked By: Blocking:

Description

When an error occurs while committing changes from a JsonRestStore? to the server, two options are available: let the store do the revert or do it manually. To get a manual revert, we need to set the revertOnError property to true. In this case, JsonRest? does a test on it in the "onError" handler. But the dirtyObjects is not properly set as the object to concat to is misspelled.

Attachments (1)

patch.txt (413 bytes) - added by goriol 9 years ago.
suggested patch

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by goriol

Attachment: patch.txt added

suggested patch

comment:1 Changed 9 years ago by Jared Jurkiewicz

Owner: changed from Jared Jurkiewicz to Kris Zyp

comment:2 Changed 8 years ago by Remoun Metyas

#13037 is a duplicate. Since that one was fixed, this one can be closed, too.

comment:3 Changed 8 years ago by bill

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.