{ "id": "105086", "key": "TIMOB-11789", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-03-18T08:35:14.000+0000", "created": "2012-11-15T21:31:17.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "parity" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" }, { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" } ], "issuelinks": [], "assignee": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T21:40:05.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "When a textField and a button with Ti.Facebook.authorize() event are added to a window or view, the Ti.Facebook.authorize() causes an app crash if the textfield is typed in. It works fine on iOS.\r\nh4.Steps to Reproduce:\r\n1. Load the below app.js\r\n2. Click on the 'open FB' button(it opens fine)\r\n3. Now tap on the textField and then type some letters.\r\n4. Click on 'open FB' button. The app crashes.\r\n\r\nh4.app.js\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'white'\r\n});\r\n\r\n\tTitanium.Facebook.appid = \"387897884561128\";\r\n\tTitanium.Facebook.permissions = ['publish_stream', 'read_stream'];\r\n\r\n\tvar input = Ti.UI.createTextField({\r\n\t\tautocorrect : true,\r\n\t\tbackgroundColor : 'pink',\r\n\t\tcolor : 'gray',\r\n\t\ttop : '10dp',\r\n\t\twidth: 100,\r\n\t\tborderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED\r\n\t});\r\n\twin.add(input);\r\n\r\n\tvar btnFb = Ti.UI.createButton({\r\n\t\ttitle : 'open FB',\r\n\t\ttop : '80dp'\r\n\t});\r\n\r\n\twin.add(btnFb);\r\n\r\n\tbtnFb.addEventListener('click', function() {\r\n\t\tTi.Facebook.authorize();\r\n\t});\r\n\t\r\nwin.open();\r\n\r\n{code}", "attachment": [ { "id": "33489", "filename": "crash log.rtf", "author": { "name": "aakkinepally", "key": "aakkinepally", "displayName": "Amuktha Akkinepally", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-15T22:38:12.000+0000", "size": 4941, "mimeType": "text/rtf" } ], "flagged": false, "summary": "Android: Ti.Facebook.authorize() causes app crash when a textfield added to the same parent view is accessed.", "creator": { "name": "aakkinepally", "key": "aakkinepally", "displayName": "Amuktha Akkinepally", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aakkinepally", "key": "aakkinepally", "displayName": "Amuktha Akkinepally", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android v2.3.6, Android 2.3.3, Ti SDK 2.1.3GA, 2.1.4GA, Master Build:3.1.0.v20121114135801, 3.0.X nightly build: 3.0.0.v20121113170203, Mac OSX: 10.8.1, ", "comment": { "comments": [ { "id": "242625", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\r\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\r\nDevice: Samsung galaxy s duos Android version: 4.0.4\r\n\r\njithinpv", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-18T08:35:14.000+0000", "updated": "2013-03-18T08:35:14.000+0000" }, { "id": "414486", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced and due to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T21:40:05.000+0000", "updated": "2017-03-21T21:40:05.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }