Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#15420 closed defect (fixed)

dojo.data.ObjectStore leak

Reported by: freeneutron Owned by: Kris Zyp
Priority: undecided Milestone: 1.8
Component: Data Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:

Description

Static property (_dirtyObjects: []) of the class dojo.data.ObjectStore? is used by all instances of this class, which leads to the influence of one instance to another. Custom solution may be the:

dojo.require("dojo.data.ObjectStore");
dojo.declare("ObjectStore", [dojo.data.ObjectStore],{
    constructor: function(args){
        dojo.mixin(this, args);
        this._dirtyObjects = [];
    }
})

Change History (3)

comment:1 Changed 7 years ago by bill

Component: DojoX DataData

comment:2 Changed 7 years ago by Kris Zyp

Resolution: fixed
Status: newclosed

I believe this was fixed with [27709].

comment:3 Changed 7 years ago by bill

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