[TIMOB-13560] iOS: the bubbleParent property does not work correctly
GitHub Issue | n/a |
---|---|
Type | Sub-task |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-05-09T21:36:17.000+0000 |
Affected Version/s | Release 3.2.0 |
Fix Version/s | 2013 Sprint 10 API, 2013 Sprint 10, Release 3.1.1, Release 3.2.0 |
Components | iOS |
Labels | n/a |
Reporter | Ping Wang |
Assignee | Vishal Duggal |
Created | 2013-04-15T18:14:35.000+0000 |
Updated | 2017-03-14T18:58:31.000+0000 |
Description
Test case in TIMOB-13544
Additional test code
try {
var button1 = Ti.UI.createButton();
Ti.API.info('From creation Dict = ' + button1.bubbleParent+' '+button1.getBubbleParent());
button1.bubbleParent=false;
Ti.API.info('Set false with property = ' + button1.bubbleParent+' '+button1.getBubbleParent());
button1.bubbleParent=true;
Ti.API.info('Set true with property = ' + button1.bubbleParent+' '+button1.getBubbleParent());
button1.setBubbleParent(false);
Ti.API.info('Set false with setterMethod = ' + button1.bubbleParent+' '+button1.getBubbleParent());
button1.setBubbleParent(true);
Ti.API.info('Set true with setter method = ' + button1.bubbleParent+' '+button1.getBubbleParent());
} catch (e) {
Ti.API.error('button1 getBubbleParent() error:' + e);
}
Pull pending https://github.com/appcelerator/titanium_mobile/pull/4237
Backport to 3_1_X https://github.com/appcelerator/titanium_mobile/pull/4238
CR &FR on master and 3_1_X PR
Reopening. Crashing SDK. Need to add nil check
PR's https://github.com/appcelerator/titanium_mobile/pull/4242 (master) https://github.com/appcelerator/titanium_mobile/pull/4243 (3_1_X)
Closing ticket as fixed.