Bug Tracker

Opened 10 years ago

Last modified 10 years ago

#9301 closed bug

Setting data() via an object with hyphenated keys create inaccessible data. — at Version 12

Reported by: mdawaffe Owned by: Rick Waldron
Priority: blocker Milestone: 1.6.2
Component: core Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by timmywil)

If an element's data is set via an object with a hyphenated key, that key becomes inaccessible.

Test case: http://jsfiddle.net/V8y7X/

Related and caused by: #9124

Change History (12)

comment:1 Changed 10 years ago by Rick Waldron

Component: unfiledcore
Owner: set to Rick Waldron
Priority: undecidedblocker
Status: newassigned

comment:2 Changed 10 years ago by Rick Waldron

comment:3 Changed 10 years ago by john

Keywords: 1.7-discuss added

Nominating ticket for 1.7 discussion.

comment:4 Changed 10 years ago by Rick Waldron

Description: modified (diff)

+1, Seems like a bug, should be fixed

comment:5 Changed 10 years ago by jaubourg

+1, bug

comment:6 Changed 10 years ago by timmywil

+1,

comment:7 Changed 10 years ago by dmethvin

Description: modified (diff)

+1, OK, so I guess the solution is to take two stabs into the data object, one camelCase and the second camel-case?

comment:8 Changed 10 years ago by john

Description: modified (diff)

+1, Seems like we should get this in 1.6.2.

comment:9 Changed 10 years ago by Rick Waldron

Description: modified (diff)

comment:10 Changed 10 years ago by ajpiano

+1, Buggy mc buggerson

comment:11 Changed 10 years ago by scottgonzalez

Description: modified (diff)

+1

comment:12 Changed 10 years ago by timmywil

Description: modified (diff)
Milestone: 1.next1.6.2
Note: See TracTickets for help on using tickets.