Opened 5 years ago

Closed 5 years ago

#18279 closed enhancement (fixed)

Allow numbers in dijit/Tree paths for set paths

Reported by: Wouter Hager Owned by: bill
Priority: undecided Milestone: 1.11
Component: Dijit Version: 1.10.1
Keywords: Cc:
Blocked By: Blocking:

Description

Currently a string check is done to ensure identity in _setPathsAttr:

line 1038:
// normalize path to use identity
path = array.map(path, function(item){
  return lang.isString(item) ? item : tree.model.getIdentity(item);
});

It would be more fitting to check for isObject or something along those lines.

Change History (4)

comment:1 Changed 5 years ago by Wouter Hager

comment:2 Changed 5 years ago by bill

Component: GeneralDijit
Owner: set to bill
Type: defectenhancement

comment:3 Changed 5 years ago by bill

Milestone: tbd1.11

comment:4 Changed 5 years ago by Bill Keese <bill@…>

Resolution: fixed
Status: newclosed

In fed9ea6a7416b90dc0c8c7f18e9180553c28860f/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 
Note: See TracTickets for help on using tickets.