{ "id": "91000", "key": "TIMOB-8912", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13405", "description": "Sprint 2012-09 API", "name": "Sprint 2012-09 API", "archived": true, "released": true, "releaseDate": "2012-05-06" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-07T10:30:28.000+0000", "created": "2012-04-29T01:47:41.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api" ], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-14T04:42:23.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": "PROBLEM\r\nIf a device is rotated in while in the locked mode, the app disengages from the filesystem.\r\n\r\nTEST STEPS\r\nAPK can be found here: https://appcelerator.teamworkpm.net/files/95446\r\n1) Open up the app, login to load tickets.\r\n2) While the app is opened up (anywhere in it is fine, but I was leaving it on the ticket summary), put the device to sleep\r\n3) Now wake up the device and while the device is on the lock screen, rotate it!\r\n\r\nEXPECTED RESULTS\r\nThe app would resume and rotate without losing data.\r\n\r\nACTUAL RESULTS\r\nData is removed from the app resulting in parts of the screen (columns of data) to disappear. Please see attached log file at 13:25:25\r\n", "attachment": [ { "id": "27447", "filename": "log.txt", "author": { "name": "echeng", "key": "echeng", "displayName": "Eric Cheng", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-29T01:47:41.000+0000", "size": 53749, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Device rotation while device is locked causes the app to disengage from the filesystem", "creator": { "name": "echeng", "key": "echeng", "displayName": "Eric Cheng", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "echeng", "key": "echeng", "displayName": "Eric Cheng", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Device: Samsung Tab 10\"\r\nOS: Android 3.x", "comment": { "comments": [ { "id": "193073", "author": { "name": "patakijv", "key": "patakijv", "displayName": "John V Pataki", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The bad news:\r\n\r\nThis issue is a little more than just the filesystem disengagement - the app basically goes berserk, filesystem (Ti.App.Properties) reads fail, database reads fail, the user interface gets all foobar'd\r\n\r\nThe good news:\r\n\r\nI've narrowed this problem down to the switch from Android API level 11 to 13 which was done to handle theme decisions.\r\n\r\nI will work on making a test app available if I can - this may need to be taken private and allow developer to test on the pro-services app.\r\n\r\n\r\n ", "updateAuthor": { "name": "patakijv", "key": "patakijv", "displayName": "John V Pataki", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-29T12:59:07.000+0000", "updated": "2012-04-29T12:59:07.000+0000" }, { "id": "193075", "author": { "name": "patakijv", "key": "patakijv", "displayName": "John V Pataki", "active": true, "timeZone": "America/Los_Angeles" }, "body": "By the way, you can ignore the log file uploaded initially to this ticket - it won't tell you anything useful about the problem.", "updateAuthor": { "name": "patakijv", "key": "patakijv", "displayName": "John V Pataki", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-29T13:19:10.000+0000", "updated": "2012-04-29T13:19:10.000+0000" }, { "id": "193158", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'll need the test application to reproduce the issue before moving forward.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-30T10:53:25.000+0000", "updated": "2012-04-30T10:53:25.000+0000" }, { "id": "193166", "author": { "name": "patakijv", "key": "patakijv", "displayName": "John V Pataki", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I haven't had the time to create a sample test app but you can pull this app from the appc repo and reproduce it - install the modules contained in the module-zips folder ", "updateAuthor": { "name": "patakijv", "key": "patakijv", "displayName": "John V Pataki", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-30T11:28:29.000+0000", "updated": "2012-04-30T11:28:29.000+0000" }, { "id": "193228", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "To summarize the findings:\r\n\r\nThis appears to be caused when setting the min SDK level to 13 or higher.\r\nAndroid added a new [configChanges|http://developer.android.com/guide/topics/manifest/activity-element.html#config] flag which if not set will cause a restart of the activity.\r\n\r\nA workaround is to customize the manifest and include \"screenSize\" and \"smallestScreenSize\" in the android:configChanges options.\r\nWe can't generate these yet in the default manifest since we need to support API level 8.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-30T16:55:14.000+0000", "updated": "2012-04-30T16:55:14.000+0000" }, { "id": "193797", "author": { "name": "echeng", "key": "echeng", "displayName": "Eric Cheng", "active": true, "timeZone": "America/Los_Angeles" }, "body": "With the latest version of the app with Josh's fix, the rotation issue is fixed,but we could still reproduce the problem with these test steps:\r\n\r\nSTEPS\r\n1. Uninstall the app, re-install it, open it, \r\n2. log in to http://appcelerator.irthsolutions.com/irthnet\r\nlogin: jsmith\r\npassword: j11111\r\n3. Do the initial sync, after the sync is finished. You will see 4 tickets.\r\n4. U the Home button to get to the desktop. \r\n5. Re-launch the app (go to Apps -> Click Utilisphere)\r\n\r\nRESULT\r\n-when resuming the app the screen is black for ~10seconds\r\n-when you see the app screen, no tickets are viewable (as if they disappeared).\r\n", "updateAuthor": { "name": "echeng", "key": "echeng", "displayName": "Eric Cheng", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-04T14:07:32.000+0000", "updated": "2012-05-04T14:07:32.000+0000" }, { "id": "193963", "author": { "name": "echeng", "key": "echeng", "displayName": "Eric Cheng", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ignore my previous post. The workaround posted by Josh addressed the device rotation issue.", "updateAuthor": { "name": "echeng", "key": "echeng", "displayName": "Eric Cheng", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-07T09:54:42.000+0000", "updated": "2012-05-07T09:54:42.000+0000" }, { "id": "193973", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Workaround provided works.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-05-07T10:30:28.000+0000", "updated": "2012-05-07T10:30:28.000+0000" }, { "id": "234942", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Unable to retrieve apk file from https://appcelerator.teamworkpm.net/files/95446, have no access.\n\nTimed out link http://appcelerator.irthsolutions.com/irthnet", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-18T12:05:52.000+0000", "updated": "2013-01-18T12:05:52.000+0000" }, { "id": "411948", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-14T04:42:23.000+0000", "updated": "2017-03-14T04:42:23.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }