{ "id": "114327", "key": "TIMOB-13851", "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": "15108", "description": "2013 Sprint 10", "name": "2013 Sprint 10", "archived": true, "released": true, "releaseDate": "2013-05-20" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "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-05-17T06:01:02.000+0000", "created": "2013-05-14T01:23:19.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [ { "id": "28749", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "114312", "key": "TIMOB-13845", "fields": { "summary": "LiveView: Android app reload does not pass splash screen", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-08-14T22:18:24.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" }, { "id": "13600", "name": "LiveView", "description": "Live preview of Titanium apps" } ], "description": "LiveView does not work when editing FSA 1.0 Alloy generated .js files. I tried this both with and without the \"app restart\" logic from Allen with the same non-working Live View result. Steps to reproduce:\r\n\r\n1. Enable Live View for FSA 1.0.\r\n\r\n2. Open this Alloy generated file in Studio:\r\n/Field-Service-App/Resources/alloy/controllers/my-service-outlets/myServiceOutlets.js\r\n\r\n3. Insert this line under line 328:\r\nTi.API.info(\"MDL: LiveView detected my change.\");\r\n\r\n4. Save the file (File > Save) to trigger Live View. \r\n\r\n5. Live View will claim to detect the change with this output from Studio's console:\r\n[32m [LiveView]\u001b[39m Reload Triggered\r\n\u001b[90m \t-REASON:\u001b[39m File Changed\r\n\u001b[90m -FILE:\u001b[39m /Users/matt/Documents/Appcelerator/src/titanium_mobile_repos/forks/field_service_app/Resources/alloy/controllers/my-service-outlets/myServiceOutlets.js\r\n\r\n5. From within the FSA 1.0 app click the map icon next to \"464 Hanover Street\", which should trigger the output from step 3.\r\n\r\n6. The output from step 3 is not in the logcat output, which can be verified by running this command from Terminal and not seeing the output from step #3:\r\n\r\nadb logcat -d -v threadtime | grep \"MDL: LiveView detected my change.\"\r\n", "attachment": [], "flagged": false, "summary": "LiveView: does not work when editing FSA 1.0 Alloy generated .js files within Studio", "creator": { "name": "mlangston", "key": "mlangston", "displayName": "Matt Langston", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mlangston", "key": "mlangston", "displayName": "Matt Langston", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Field Service App 1.0 (git hash 39da429c65aa85abf7cc085b5be5140746406f5b)\r\n\r\nAppcelerator Studio 3.1.1.201305130813\r\n\r\nNexus 10 tablet with Android 4.2.1\r\n\r\nTitanium SDK 3.1.1 (git hash d9807d38cfc2296c8434abe6a7cf7f05cee17047)", "comment": { "comments": [ { "id": "252518", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Unable to replicate with LiveView 0.1.21/Studio 3.1.1.201305151653. I see the following in my log output:\r\n\r\n{code}\r\n[INFO] LOCATION_INFO_CLICKED\r\n[INFO] MDL: LiveView detected my change.\r\n{code}", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-17T06:01:02.000+0000", "updated": "2013-05-17T06:01:02.000+0000" }, { "id": "266540", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified on Appcelerator Studio, build: 3.1.2.201308091728, OSX 10.8.3 that I'm able to run FSA with LiveView and have the app correctly reloaded when there is a change.\r\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-14T22:18:24.000+0000", "updated": "2013-08-14T22:18:24.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }