Opened 12 years ago

Closed 12 years ago

#4509 closed defect (fixed)

demo_FlickrStoreTree: getIdentity not a function

Reported by: Adam Peller Owned by: Jared Jurkiewicz
Priority: high Milestone:
Component: DojoX Data Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

Loaded from nightly on Sept 19th and got this error on line 80:

 nodeMap[this.tree.store.getIdentity(childParams.item)] = child;

this.tree.store.getIdentity is not a function

Change History (4)

comment:1 Changed 12 years ago by bill

This isn't really a bug. Tree requires a data store that implements getIdentity(), but FlickStore? doesn't implement getIdentity(). But OK, I guess it's a bug in the demo at the very least.

comment:2 Changed 12 years ago by Jared Jurkiewicz

The demo is broken because of the tree change that forces a require for identity (The change in tree that dropped in 1 day before GA of 0.9 :-/) . I'm not sure how to even implement an identiy for FlickrStore? that could actually be used to fetch the specific item. I'm probably going to have to delete this demo until I figure out how to deal with this.

comment:3 Changed 12 years ago by Jared Jurkiewicz

In fact, that's what I'll do.

comment:4 Changed 12 years ago by Jared Jurkiewicz

Resolution: fixed
Status: newclosed

(In [10566]) Removing a demo that no longer works because of a change made last minute in dijit.Tree in 0.9. fixes #4509

Note: See TracTickets for help on using tickets.