Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#15309 closed defect (fixed)

Stateful doesn't handle hash to set()

Reported by: bill Owned by: Ed Chatelain
Priority: high Milestone: 1.8
Component: DojoX MVC Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:

Description

dojo/Stateful can handle a hash to set():

myStatefulWidget.set({x: 1, y: 2})

Since dojox/mvc/Stateful extends dojo/Stateful, dojox/mvc/Stateful::set() should also be able to handle a hash. However, apparently it doesn't. I looked at the code and see no provisions for hash handling.

Attachments (1)

mvc-15309-Stateful.patch (21.3 KB) - added by Ed Chatelain 7 years ago.
Patch to remove dojox/mvc/Stateful.js and update code and tests to use dojo/Stateful.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 7 years ago by Ed Chatelain

Priority: undecidedhigh
Status: newassigned

dojox/mvc/Stateful was extending dojo/Stateful in order to support predefined getters and setters, since dojo/Stateful was updated to support getters andsetters, we can remove dojox/mvc/Stateful, and update our code to use what is now in dojo/Stateful.

Changed 7 years ago by Ed Chatelain

Attachment: mvc-15309-Stateful.patch added

Patch to remove dojox/mvc/Stateful.js and update code and tests to use dojo/Stateful.

comment:2 Changed 7 years ago by cjolif

Resolution: fixed
Status: assignedclosed

In [28537]:

fixes #15309. Patch to remove dojox/mvc/Stateful.js and update code and tests to use dojo/Stateful.

comment:3 Changed 7 years ago by cjolif

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