[TIMOB-2429] Android: bug while setting dynamic object properties from inside a listener
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-07-06T13:07:15.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Etienne Bernard |
Assignee | Reggie Seagraves |
Created | 2011-04-15T03:19:30.000+0000 |
Updated | 2017-03-09T23:14:21.000+0000 |
Description
I'm testing with the following Titanium Mobile version (latest, as of now):
Titanium SDK version: 1.5.0 (11/25/10 15:09 3b911c3)
with Android 1.6 emulator.
If I run the following code:
var o = {};
var k = 'key';
var v = 'value';
o[k] = v;
Ti.API.debug(o);
I get:
{"key":"value"}
However, if I execute the same code block inside a listener, I get:
{"key":null}
There is no such problem with the 1.4 version.
Please ignore this ticket. I messed things up ;-)
Closing ticket as invalid.