We're updating the issue view to help you get more done. 

ModelController design is too magical

Description

From discussion at http://forums.enyojs.com/discussion/2381/enyo-modelcontroller-and-the-id-property.

ModelController attempts to "figure out" when a property is on its model versus when it's on itself. As a result, it gets confused with properties like id which is the default primaryKey for model but is also a default enyo property for subkinds of Component (which ModelController is). id can be fixed by changing ModelController to extend Object rather than Component.

Beyond that, a more thorough design review is warranted to determine if there is a better way to proxy Model properties.

Environment

Any

Status

Assignee

Screener (Enyo Team)

Reporter

Ryan Duffy

Labels

None

External issue ID

None

Tango Test Run Elements

None

Old Issue Key

None

Components

Affects versions

2.5.0

Priority

None