Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#9163 closed defect (fixed)

dojox.rpc.jsonrest does not clear __isDirty flag on revert

Reported by: John Locke Owned by: Kris Zyp
Priority: high Milestone: 1.4
Component: DojoX Data Version: 1.3.0
Keywords: Cc:
Blocked By: Blocking:


In 1.3, there is now an isDirty property attached to items used by JsonRestStore?.

1. store.setValue(item, 'someproperty','somevalue');
2. store.isDirty(); //true
3. store.revert();
4. store.isDirty(); //false
5. store.isDirty(item); //true -- should be false

item.isDirty is set to true, even after reverting.

... all data appears to be reverted correctly, but the isDirty flag doesn't get cleared.

Change History (3)

comment:1 Changed 13 years ago by Jared Jurkiewicz

Owner: changed from Jared Jurkiewicz to Kris Zyp

comment:2 Changed 13 years ago by Kris Zyp

Resolution: fixed
Status: newclosed

(In [18460]) Remove isDirty flag on revert, fixes #9163

comment:3 Changed 13 years ago by Adam Peller

Milestone: tbd1.4
Note: See TracTickets for help on using tickets.