{ "id": "149497", "key": "AC-201", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-11-05T08:56:45.000+0000", "created": "2015-07-07T16:43:49.000+0000", "labels": [ "android" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-11-05T15:53:18.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Ti.UI.View.bubbleParent - http://docs.appcelerator.com/platform/latest/#!/api/Titanium.Proxy-property-bubbleParent is not handled with *applyProperties* method.\r\n\r\n+Testcase+ \r\n\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: \"#fff\"\r\n});\r\nwin.addEventListener(\"open\", function(e){\r\n console.log(button.bubbleParent);\r\n button.applyProperties({\r\n title: \"Bubble disabled\",\r\n bubbleParent: false\r\n });\r\n console.log(button.bubbleParent);\r\n});\r\nvar button = Ti.UI.createButton({\r\n title: \"Bubble Parent\"\r\n});\r\nwin.add(button);\r\nwin.open();\r\n{code}\r\n\r\n+Result+\r\n\r\n*iOS* - Works as expected, first statement prints true and second prints false.\r\n*Android* - Doesn't work, both statement prints true. Setting false on creation only works.", "attachment": [], "flagged": false, "summary": "Ti.UI.View.bubbleParent - not handled with applyProperties", "creator": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Titanium 4.1.0.GA\r\nAndroid 5.0.1", "comment": { "comments": [ { "id": "363773", "author": { "name": "ahossain", "key": "ahossain", "displayName": "Amimul Hossain", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I have tested this issue in latest SDK 4.1.0.GA and 4.1.1.GA with Android 5.1.0. The issue is fixed. \r\n\r\niOS - Works as expected, first statement prints true and second prints false.\r\nAndroid -Works as expected, first statement prints true and second prints false.\r\n\r\nPlease update your Titanium SDK. Thanks.\r\n", "updateAuthor": { "name": "ahossain", "key": "ahossain", "displayName": "Amimul Hossain", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-09-14T10:17:00.000+0000", "updated": "2015-09-14T10:17:00.000+0000" }, { "id": "363870", "author": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Works as expected, we can mark this as resolved.\r\n\r\n{code:Test Case}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : \"#fff\"\r\n});\r\nwin.addEventListener(\"click\", function didClick(e) {\r\n\tconsole.log(button.bubbleParent);\r\n\tbutton.bubbleParent = false;\r\n\tconsole.log(button.bubbleParent);\r\n});\r\nvar button = Ti.UI.createButton({\r\n\ttitle : \"Bubble Parent\"\r\n});\r\nwin.add(button);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2015-09-15T02:31:07.000+0000", "updated": "2015-09-15T02:31:07.000+0000" }, { "id": "368276", "author": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "body": "It works with getter or setter methods / properties but not when we use *applyProperties*", "updateAuthor": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2015-10-29T10:13:06.000+0000", "updated": "2015-10-29T10:13:06.000+0000" }, { "id": "369099", "author": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "body": "[~mrahman]: The issue is not fixed, please re-open. setBubbleParent / getBubbleParent only works on Android. *applyProperties* is still failing.", "updateAuthor": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2015-11-05T15:53:18.000+0000", "updated": "2015-11-05T15:53:18.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }