Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#13716 closed defect (fixed)

dojo.data.ObjectStore compatible with the old labelAttribute

Reported by: Bo Lorentsen Owned by: Kris Zyp
Priority: high Milestone: 1.8
Component: Data Version: 1.7.0
Keywords: Cc:
Blocked By: Blocking:

Description

The dojox.data.ServiceStore? uses labelAttribute to setup the visible label for any store user that may need this (select), but the ObjectStore? uses the labelProperty instead.

This may be due to a name change in future dojo code, but it may be smart to make ObejctStore? accept both names in the constructor, to keep it compatible with the past stores. Maybe it may even write a note in the console log, but this ends up making it harder to switch from one store to another.

Change History (3)

comment:1 Changed 8 years ago by Jared Jurkiewicz

Owner: changed from Jared Jurkiewicz to Kris Zyp

comment:2 Changed 7 years ago by Kris Zyp

Resolution: fixed
Status: newclosed

In [29039]:

Accept labelAttribute on dojo/data/ObjectStore, fixes #13716 !strict

comment:3 Changed 7 years ago by bill

Milestone: 1.8
Version: 1.7.0
Note: See TracTickets for help on using tickets.