Opened 8 years ago

Closed 8 years ago

#13820 closed defect (fixed)

bug of dojox.mvc.StatefulModel

Reported by: binlish Owned by: Ed Chatelain
Priority: high Milestone: 1.7.1
Component: DojoX MVC Version: 1.7.0b1
Keywords: Cc: rahul
Blocked By: Blocking:

Description (last modified by bill)

I'm trying to add an item to a list, when the length of the list is zero.

An error is thrown out said 'Out of bounds insert attempted, must be contiguous.'

I create a patch to fix this problem, attached.

Attachments (1)

StatefulModel.js.patch (416 bytes) - added by binlish 8 years ago.

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by binlish

Attachment: StatefulModel.js.patch added

comment:1 Changed 8 years ago by bill

Component: GeneralDojoX MVC
Description: modified (diff)
Owner: set to rahul

comment:2 Changed 8 years ago by Ed Chatelain

I don't think there is a problem with this change, all of the current testcases work with this change, but it would be good to have a testcase to verify the fix. Can you provide a simple testcase to show the problem. Thanks, Ed

comment:3 Changed 8 years ago by Adam Peller

Cc: rahul added
Owner: changed from rahul to Ed Chatelain

comment:4 Changed 8 years ago by Ed Chatelain

This problem was fixed by the fix for #14190

comment:5 Changed 8 years ago by bill

Milestone: tbd1.7.1
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.