{ "id": "113257", "key": "TIMOB-13647", "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": "15490", "description": "2013 Sprint 10 JS", "name": "2013 Sprint 10 JS", "archived": true, "released": true, "releaseDate": "2013-05-20" }, { "id": "15547", "description": "2013 Sprint 14", "name": "2013 Sprint 14", "archived": true, "released": true, "releaseDate": "2013-07-15" }, { "id": "15551", "description": "2013 Sprint 14 Tooling", "name": "2013 Sprint 14 Tooling", "archived": true, "released": true, "releaseDate": "2013-07-15" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-08-07T00:06:04.000+0000", "created": "2013-04-22T23:33:01.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [ { "id": "28644", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "114135", "key": "TIMOB-13808", "fields": { "summary": "LiveView: Utilize Ti.app._restart()", "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": "Critical", "id": "1" }, "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } }, { "id": "28154", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "inwardIssue": { "id": "113396", "key": "TIMOB-13673", "fields": { "summary": "Ti API: Expose currently loaded window/tab group reference list to JavaScript API ", "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": "Critical", "id": "1" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-09-30T18:01:59.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": "13600", "name": "LiveView", "description": "Live preview of Titanium apps" } ], "description": "h5. Problem description\r\nOn Android, LiveView is changing the app code after any update. However, instead of just modifying the current opened app, a new instance of the app is opened displaying the code modifications.\r\n\r\nh5. Steps to reproduce\r\n1. Create a project (classic or Alloy) and run on Android enabling LiveView\r\n2. Modify some UI code (for example a label)\r\nResult: a new instance of the app is opened showing the app with the modification done.\r\n3. Press the back button\r\nResult: new instance of the app is closed. The first run app is displayed as opened below it.", "attachment": [], "flagged": false, "summary": "LiveView: Android: new app instance is opened on top every time an update is saved", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "LiveView 0.1.4-cr\r\nTiSDK: 3.1.1.v20130416154549\r\nTiSTUDIO: 3.1.0.201304151708\r\nTested on Android Nexus 4 device", "closedSprints": [ { "id": 12, "state": "closed", "name": "2013 Sprint 14", "startDate": "2013-07-02T20:29:00.190Z", "endDate": "2013-07-15T20:29:00.190Z", "completeDate": "2013-09-26T16:01:32.042Z" } ], "comment": { "comments": [ { "id": "257579", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "After modification in UI code, a new instance of app is opened with the modification implemented. Pressing back button a black window is displayed.\r\n\r\nEnvironment used :\r\nDevice : Google Nexus 7, Android Version: 4.1\r\nSDK: 3.1.1.v20130612114553\r\nCLI version : 3.1.1-cr\r\nOS : MAC OSX 10.7.5\r\nAppcelerator Studio, build: 3.1.1.201306121633\r\nXCode : 4.5.1\r\nLiveView : 0.1.24", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-06-13T09:19:26.000+0000", "updated": "2013-06-13T09:48:41.000+0000" }, { "id": "257967", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please attach your build log so I may review the errors.", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-14T20:37:04.000+0000", "updated": "2013-06-14T20:37:04.000+0000" }, { "id": "258560", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please test with liveview 0.1.25", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-19T17:40:12.000+0000", "updated": "2013-06-19T17:40:12.000+0000" }, { "id": "258561", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hitting the back button will display a black screen due to the way the reload function is implemented on android. This is not a liveview issue.", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-19T17:41:12.000+0000", "updated": "2013-06-19T17:41:12.000+0000" }, { "id": "260908", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The new back button causing black screen on android is due to the implementation of the Ti.App._restart() function. If this is still considered a bug then file a ticket for Android SDK Ti.App._restart function.", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-05T19:45:39.000+0000", "updated": "2013-07-05T19:45:39.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }