[TIMOB-1846] Changing a button bar image via array index does not work
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Done |
| Resolution Date | 2017-05-24T20:04:39.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | bar, button, defect, ios, iphone, kroll |
| Reporter | ctredway |
| Assignee | Ingo Muschenetz |
| Created | 2011-04-15T03:03:47.000+0000 |
| Updated | 2017-05-24T20:04:39.000+0000 |
When trying to change a button bar label image via the array index.
See this HD ticket for the code.
http://developer.appcelerator.com/helpdesk/view/43701">http://developer.appcelerator.com/helpdesk/view/43701
happens on iphone with sdk 1.4.1
This is likely due to the Kroll issue. That is to say, doing foo.data[5] is not editing the fifth item in foo's data array, but editing the fifth item in a copy of foo's data array that is no longer related to foo.