Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#16016 closed defect (fixed)

Wild data binding happens with a wrong model if wildcard is specified before specific properties

Reported by: Akira Sudoh Owned by: Ed Chatelain
Priority: high Milestone: 1.8.2
Component: DojoX MVC Version: 1.8.0
Keywords: Cc:
Blocked By: Blocking:

Description

Wild data binding happens with a wrong model if wildcard is specified before specific properties. For example, properties except prop0 (say, prop1, prop2...) should be bound with modelwild in below example, but ends up with bound with modelnowild.

<div data-dojo-type="the/widget"
 data-dojo-props="'*': at(modelwild, '*'), prop0: at(modelnowild, 'prop0')"></div>

Fix and test case attached.

Attachments (1)

mvcwildcardfix.patch (2.0 KB) - added by Akira Sudoh 7 years ago.
Test case and fix.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by Akira Sudoh

Attachment: mvcwildcardfix.patch added

Test case and fix.

comment:1 Changed 7 years ago by Ed Chatelain

Priority: undecidedhigh
Status: newassigned

comment:2 Changed 7 years ago by Ed Chatelain

In [29750]:

refs #16016. Fix Wildcard data binding happens with a wrong model if wildcard is specified before specific properties. !strict Thanks Akira Sudoh (IBM, CCLA).

comment:3 Changed 7 years ago by Ed Chatelain

Resolution: fixed
Status: assignedclosed

In [29830]:

fixes #16016. Fix Wildcard data binding happens with a wrong model if wildcard is specified before specific properties. !strict Thanks Akira Sudoh (IBM, CCLA).

comment:4 Changed 7 years ago by Ed Chatelain

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