#11837 closed defect (fixed)
PersevereStore.getStores should use dojox.json.ref.toJson in generated schema methods
Reported by: | Remoun Metyas | Owned by: | Kris Zyp |
---|---|---|---|
Priority: | high | Milestone: | 1.6 |
Component: | DojoX Data | Version: | 1.5 |
Keywords: | PeresevereStore | Cc: | |
Blocked By: | Blocking: |
Description
PersevereStore.getStores
adds static and instance methods to the schema
and prototype
of the returned stores, respectively. However, these methods use dojo.toJson
to serialize the arguments, which breaks when using objects returned by that same store as arguments (usually a "too much recursion" error)!
dojox.json.ref is already dojo.require
'd, so the fix is a one-line patch (attached).
Attachments (1)
Change History (5)
Changed 10 years ago by
Attachment: | json.ref.patch added |
---|
comment:1 Changed 10 years ago by
Owner: | changed from Jared Jurkiewicz to Kris Zyp |
---|
comment:3 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 Changed 10 years ago by
Milestone: | tbd → 1.6 |
---|
bulk update: bugs fixed in past few months, presumably milestone is 1.6
Note: See
TracTickets for help on using
tickets.
Patch for dojox/data/PersevereStore.js