Opened 7 years ago

Closed 7 years ago

#15573 closed defect (duplicate)

regression in [26435]: undefined global in JsonRestStore

Reported by: haysmark Owned by: haysmark
Priority: undecided Milestone: 1.8
Component: DojoX Data Version: 1.7.3
Keywords: Cc: Chris Mitchell
Blocked By: Blocking:

Description

Starting in [26435], in dojox.data.JsonRestStore?.save(), the undefined global rpcConfig was introduced:

if("syncMode" in kwArgs ? kwArgs.syncMode : this.syncMode){
	rpcConfig._sync = true;
}

It was originally pointing to the global dojox.rpc._sync:

if("syncMode" in kwArgs ? kwArgs.syncMode : this.syncMode){
	dojox.rpc._sync = true;
}

The only related definition I could find was in dojox/rpc/Rest, which still uses dojox.rpc._sync. I'm not sure what the intention was here but the quick fix would be to go back to using dojox.rpc._sync.

Change History (4)

comment:1 Changed 7 years ago by haysmark

Owner: changed from Kris Zyp to Chris Mitchell
Status: newassigned

comment:2 Changed 7 years ago by haysmark

Milestone: tbd1.8

comment:3 Changed 7 years ago by haysmark

Cc: Chris Mitchell added
Owner: changed from Chris Mitchell to haysmark

While I'd still like your input Chris, I'll have a closer look at it.

comment:4 Changed 7 years ago by haysmark

Resolution: duplicate
Status: assignedclosed

Dup of #15289.

Note: See TracTickets for help on using tickets.