Opened 7 years ago

Last modified 23 months ago

#16218 assigned defect

dojo/data/ObjectStore save function

Reported by: cyril.dupetit Owned by: dylan
Priority: low Milestone: 1.14
Component: Data Version: 1.8.1
Keywords: Cc:
Blocked By: Blocking:


In the save function, when calling the onComplete function Callback, it must be better to pass the "value" args than the "actions" variable. The variable "actions" is not used in the function "save".

line 456 :, actions value);

Deferred.when(result, function(value){
-->, actions); <--
	// on an error we want to revert, first we want to separate any changes that were made since the commit
	left = -1; // first make sure that success isn't called, value);

Thx Regards

Change History (8)

comment:1 Changed 5 years ago by dylan

Milestone: tbd1.11
Owner: changed from Kris Zyp to dylan
Priority: undecidedlow
Status: newassigned

comment:2 Changed 4 years ago by dylan

Created a pull request at . Sorry it took 3 years to get around to it...

comment:3 Changed 4 years ago by dylan

Milestone: 1.111.12

comment:4 Changed 3 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

comment:5 Changed 3 years ago by dylan

Milestone: 1.151.12

comment:6 Changed 3 years ago by dylan

Milestone: 1.121.13

PR needs an update per comments in PR, so moving to 1.13.

comment:8 Changed 23 months ago by dylan

Milestone: 1.131.14
Note: See TracTickets for help on using tickets.