[TIMOB-7173] MobileWeb: Setters not getting defined when a getter is defined
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-01-14T21:52:29.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | Sprint 2012-01, Release 2.0.0, Release 1.8.1 |
Components | MobileWeb |
Labels | stage |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2012-01-13T11:55:08.000+0000 |
Updated | 2017-03-03T23:21:19.000+0000 |
Description
In the lang.mixProps() function, the getter checking logic short circuits the if statement and the setter checking never fires.
if (is(descriptor, "Object") && ((getter = is(descriptor.get, "Function")) || (setter = is(descriptor.set, "Function")))) {
Pull request: https://github.com/appcelerator/titanium_mobile/pull/1173
Not sure how this got reopened, but this has been fixed, reviewed, tested, and merged into master already.
Closing ticket as MobileWeb is no longer supported.