{ "id": "124637", "key": "TIMOB-16161", "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": "15821", "description": "2014 Sprint 02", "name": "2014 Sprint 02", "archived": true, "released": true, "releaseDate": "2014-01-31" }, { "id": "15824", "description": "2014 Sprint 02 Core", "name": "2014 Sprint 02 Core", "archived": true, "released": true, "releaseDate": "2014-01-31" }, { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-01-23T01:15:26.000+0000", "created": "2014-01-10T08:06:00.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "module_liveview", "qe-3.2.1", "qe-testadded", "regression" ], "versions": [ { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [ { "id": "34384", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "124968", "key": "TIMOB-16231", "fields": { "summary": "LiveView needs to be updated to use the new Titanium CLI 3.2.1 hook 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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "34315", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "124839", "key": "TIMOB-16197", "fields": { "summary": "LiveView: Android device does not update after code change", "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": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-02-24T19:28: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": "13600", "name": "LiveView", "description": "Live preview of Titanium apps" } ], "description": "Its is regression\r\nAs working fine on 3.2.0.GA\r\n\r\nBoth Classic and Alloy App fails to relaunch on code changed with liveView enabled.\r\nNeither app closes nor relaunches itself.\r\n\r\nSteps to reproduce:\r\n1. Create default alloy/classic app.\r\n2. Enable LiveView and run the app.\r\n3. App Launches Successfully.\r\n4. Change the code and save.\r\n5. App neither closes nor relaunches with changed code.\r\n\r\nOn Console gets logs as mentioned below after the code change\r\n{code}\r\n[INFO] : ALERT: (KrollRuntimeThread) [3092,3092] Hello, World\r\n[WARN] : TiVerify: (Timer-0) [1915,5007] Verifying module licenses...\r\n[INFO] : TiVerify: (Timer-0) [1309,6316] Succesfully verified module licenses\r\n[LiveView] Alloy recompile initiated for android\r\n[LiveView] Reload Triggered\r\n REASON: File Changed\r\n FILE: /Users/p.agarwal/Project/3.2.1/Appcelerator_Studio_Workspace/live/app/controllers/index.js\r\n[LiveView] Reload Triggered\r\n REASON: File Changed\r\n FILE: /Users/p.agarwal/Project/3.2.1/Appcelerator_Studio_Workspace/live/Resources/android/alloy/sync/sql.js\r\n[INFO] : TiAnalyticsSvc: (Thread-1435) [24005,30321] Analytics Service Started\r\n[INFO] : TiAnalyticsSvc: (Thread-1435) [3086,33407] Stopping Analytics Service\r\n{code} \r\n", "attachment": [ { "id": "45311", "filename": "build_320.log", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-23T00:02:21.000+0000", "size": 15996, "mimeType": "text/x-log" }, { "id": "45310", "filename": "build.log", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-22T23:52:32.000+0000", "size": 17404, "mimeType": "text/x-log" } ], "flagged": false, "summary": "LiveView: App fails to relauch on code changed with enabled liveView", "creator": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Test Environment:\r\n\r\nAppc-Studio: 3.2.1.201401081616\r\nSdk:3.2.1.v20140109163246\r\nacs:1.0.11\r\nalloy:1.3.1-beta2\r\nnpm:1.3.2\r\ntitanium:3.2.1-beta\r\ntitanium-code-processor:1.1.0\r\nOsx: Maverick 10.9\r\nXcode: xCode 5.0.2\r\nDevices:Nexus7(v4.3),Iphone5c(v7.0.4), Emulator, Simulator", "comment": { "comments": [ { "id": "288484", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Is this ticket stating that liveview fails on device and emulator/simulator?\n", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-16T18:37:39.000+0000", "updated": "2014-01-16T18:37:39.000+0000" }, { "id": "288490", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "What version of liveview is this tested on ?\n", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-16T18:50:04.000+0000", "updated": "2014-01-16T18:50:04.000+0000" }, { "id": "288609", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Actually liveView server starts. Getting below message on console - \n[LiveView] version 1.0.1\n[LiveView] File Server Started on Port 8324\n[LiveView] Event Server Started on Port 8323\n\nBut if I change in the code (js file) and save then liveView does not relaunch the app with reflected code.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-17T11:26:55.000+0000", "updated": "2014-01-17T11:26:55.000+0000" }, { "id": "288645", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~pagarwal] can you please attach your log output to the ticket so I may review it. Thanks", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-17T20:17:24.000+0000", "updated": "2014-01-17T20:17:24.000+0000" }, { "id": "288940", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The environment shows 3.2.1 for CLI, so likely related to TIMOB-16231. Marking it fixed now TIMOB-16231 is addressed.\r\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-21T00:51:37.000+0000", "updated": "2014-01-21T00:51:37.000+0000" }, { "id": "288979", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Unable to verify this ticket. Hence Reopening the issue.\r\nSince the ticket was closed with reference to TIMOB-16231 and according to workaround mentioned in mail. \r\n\r\nNeed to remove liveView hook from paths.hooks in ti config\r\n\r\nSo have done the above changes. After the above change was able to successfully build the app and run.\r\n\r\nBut as soon as I enabled LiveView and tried again, \r\nbuild failed and again liveView hook path is getting added in paths.hooks in ti config", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-21T07:08:13.000+0000", "updated": "2014-01-21T07:08:13.000+0000" }, { "id": "289038", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~pagarwal] We just pushed another Studio 3.2.1 that includes the latest LiveView fix. Could you try updating and verify if the issue still happens?\r\n\r\nThanks.\r\n\r\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-21T16:17:09.000+0000", "updated": "2014-01-21T16:17:09.000+0000" }, { "id": "289202", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Could not verify this issue as LiveView is not working. Logged an issue TIMOB-16286", "updateAuthor": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-22T10:33:20.000+0000", "updated": "2014-01-22T10:33:20.000+0000" }, { "id": "289315", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Re-opening this ticket since I'm seeing the behavior with LiveView included in Studio 3.2.1.201401221450 + CLI 3.2.1 + SDK 3.2.1.v20140121132444. Attached the build log when run on a default two-tab alloy app.\r\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-22T23:51:27.000+0000", "updated": "2014-01-22T23:51:27.000+0000" }, { "id": "289321", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Both Studio 3.2.1 + CLI 3.2.1 + SDK 3.2.0 and Studio 3.2.1 + CLI 3.2.0 + SDK 3.2.0 work for LiveView. Attached the working build log.\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-23T00:01:55.000+0000", "updated": "2014-01-23T00:01:55.000+0000" }, { "id": "289344", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Titanium Mobile master pull request: https://github.com/appcelerator/titanium_mobile/pull/5247\nTitanium Mobile 3.2.x pull request: https://github.com/appcelerator/titanium_mobile/pull/5248", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-01-23T01:04:26.000+0000", "updated": "2014-01-23T01:04:26.000+0000" }, { "id": "289366", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue seems to be resolved.\nVerified with Test Environment:\n\nAppc Studio:3.2.1.201401221450\nSdk:3.2.1.v20140122175749\nalloy:1.3.1-beta3\t\ntitanium:3.2.1-beta2\nacs:1.0.11\ntitanium-code-processor:1.1.0\nOsx: Maverick 10.9\nXcode:5.0.2\nDevice:Nexus7(v4.4.2),Iphone5(v7.0.4)\n\nSteps followed:\n1.Created both Classic and Alloy Default app.\n2.Deployed on device with liveView enabled. App launches successfully on device.\n3.Did some changes in code for both alloy and classic app. App launches successfully with changed code.\n\nApp relauches successfully on code changed with liveView enabled.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-23T06:10:28.000+0000", "updated": "2014-01-23T06:10:28.000+0000" }, { "id": "289914", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\nMac OSX 10.9.1\nAppcelerator Studio, build: 3.2.1.201401241158\nTitanium SDK, build: 3.2.1.v20140124163734\nCLI: 3.2.1-beta3\nAlloy: 1.3.1-beta4\nXcode: 5.0.2\nLiveView: 1.0.2\nAndroid Emulator: 2.3.3, 4.4\nAndroid Device: Sony Ericsson Arc S (4.0.4)\n\nLiveView refreshes both device and emulator with every code change for both alloy and classic.\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-28T02:08:11.000+0000", "updated": "2014-01-28T02:08:11.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }