{ "id": "117073", "key": "TIMOB-14520", "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": "15691", "description": "2013 Sprint 19", "name": "2013 Sprint 19", "archived": true, "released": true, "releaseDate": "2013-09-20" }, { "id": "15693", "description": "2013 Sprint 19 API", "name": "2013 Sprint 19 API", "archived": true, "released": true, "releaseDate": "2013-09-20" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-09-14T01:01:43.000+0000", "created": "2013-07-10T23:47:32.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "regression" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "32452", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "119180", "key": "TIMOB-14984", "fields": { "summary": "Android: Activity doesn't react to create, start, resume, or newintent events preventing interapp sharing of data", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "30128", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "inwardIssue": { "id": "111872", "key": "TIMOB-13253", "fields": { "summary": "Android: Application fails to launch on certain devices", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-12-19T19:27:26.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": "Steps to reproduce:\r\nRun Anvil -> android/android/android -> jsActivityUrl on Android. It failed with the latest 3.2.0.\r\nThis is a regression caused by [this commit|https://github.com/appcelerator/titanium_mobile/commit/3ea237cd92cccfe8b2cd822d05c8769dc7b30ca6] .", "attachment": [], "flagged": false, "summary": "Android: Anvil: android/android/android -> jsActivityUrl failed", "creator": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "268762", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/4622\r\nThe regression is because the \"create\" event is fired from the main thread (onCreate() method), but the event listener is added from the kroll runtime thread which happens after onCreate()/onStart()/onResume(). So it is too early to check if there is a listener in the hierarchy in the fireEvent()/fireSyncEvent(). The fix is to move the check to doFireEvent() and also set a timeout for firing some sync events so it won't block the UI thread too long (TIMOB-13253).\r\nFor FR: \r\n1. run anvil test. Should have 371 passed / 35 failed.\r\n2. test TIMOB-14984.\r\n3. test KS.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-28T22:57:19.000+0000", "updated": "2013-09-06T21:06:21.000+0000" }, { "id": "270994", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ingo] Any update on this ticket? It appears that it is a 3.1.2 regression that we should fix in 3.1.3 release.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-12T23:59:01.000+0000", "updated": "2013-09-13T00:03:55.000+0000" }, { "id": "271000", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ngupta] Yes, this is the ticket I referenced in an earlier thread when we were discussing the ti.cloudpush issue (but is evidently not related). The chain is somewhat convoluted, but in short, we have a fix, but the number of people the issue affects is small, but the number of people that the fix could affect adversely if we missed a case is large. We thus decided to defer this fix for 3.2.0 when we had more time to properly test the issue.\n\n[~pwang] We should merge the proper solution (not the PR here, but the updated one you and Vishal arrived at) into 3.2.0.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-13T00:09:49.000+0000", "updated": "2013-09-13T00:09:49.000+0000" }, { "id": "271001", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ingo], the proper solution is the PR listed above (I already updated the PR with the solution Vishal and I arrived at).", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-13T00:14:27.000+0000", "updated": "2013-09-13T00:14:27.000+0000" }, { "id": "285229", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-19T19:27:26.000+0000", "updated": "2013-12-19T19:27:26.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }