{ "id": "117559", "key": "TIMOB-14645", "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": "15566", "description": "2013 Sprint 15 Tooling", "name": "2013 Sprint 15 Tooling", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15567", "description": "2013 Sprint 15", "name": "2013 Sprint 15", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "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-12-13T09:31:51.000+0000", "created": "2013-07-24T19:56:59.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-closed-3.2.0", "qe-testadded" ], "versions": [ { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" } ], "issuelinks": [], "assignee": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-26T17:46:46.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": "Steps to reproduce:\r\n\r\n* Imported KitchenSink app from Samples.\r\n* Enable Liveview in Studio\r\n* Run the KitchenSink app on iPad simulator.\r\n\r\nThe below error message appears and the app does not respond from splash screen:\r\n\r\n[INFO] : [LiveView] Error Evaluating app.js @ Line: 32\r\n[ERROR] : ReferenceError: Can't find variable: Module\r\n[ERROR] : File: app.js\r\n[ERROR] : Line: 32\r\n[ERROR] : SourceId: 326519360\r\n[ERROR] : Backtrace:\r\n[ERROR] : #0 ApplicationTabGroup() at :14\r\n[ERROR] : #1 () at :45\r\n[ERROR] : #2 anonymous() at :109\r\n[ERROR] : #3 () at file://localhost/Users/pinnamuri/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/4918FC17-4CBA-4FAD-BFE4-CD698487B3AF/KitchenSink.app/app.js:615\r\n[ERROR] : #4 () at file://localhost/Users/pinnamuri/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/4918FC17-4CBA-4FAD-BFE4-CD698487B3AF/KitchenSink.app/app.js:492\r\n[ERROR] : #5 () at file://localhost/Users/pinnamuri/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/4918FC17-4CBA-4FAD-BFE4-CD698487B3AF/KitchenSink.app/app.js:459\r\n[ERROR] : #6 () at file://localhost/Users/pinnamuri/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/4918FC17-4CBA-4FAD-BFE4-CD698487B3AF/KitchenSink.app/app.js:391\r\n[ERROR] : #7 () at file://localhost/Users/pinnamuri/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/4918FC17-4CBA-4FAD-BFE4-CD698487B3AF/KitchenSink.app/app.js:649\r\n\r\nHowever, the app runs without any problems when it is run without liveview.", "attachment": [], "flagged": false, "summary": "KitchenSink app fails to run with LiveView enabled", "creator": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Liveview 0.1.29\r\nSDK 3.1.1.GA\r\nTitanium CLI 3.1.1", "comment": { "comments": [ { "id": "264069", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~csullivan] I'm getting the following error with the latest 0.1.29 version of LiveView:\r\n\r\n{code}\r\n[LiveView] Client connected\r\n[INFO] : [object ComAppceleratorApmModule] loaded\r\n[INFO] : [LiveView] Error Evaluating ui/common/MessageWindow @ Line: 110\r\n[ERROR] : SyntaxError: Parse error\r\n[INFO] : [LiveView] Error Evaluating app.js @ Line: 68\r\n[ERROR] : File: ui/common/MessageWindow\r\n[ERROR] : Line: 110\r\n[ERROR] : SourceId: 318128448\r\n[ERROR] : Backtrace:\r\n[ERROR] : #0 () at file://localhost/Users/mxia/Library/Application%20Support/iPhone%20Simulator/6.0/Applications/00F69E75-A15C-4B35-989A-F08DCF98E18F/KitchenSink.app/app.js:492\r\n[ERROR] : #1 () at :67\r\n[ERROR] : #2 anonymous() at :123\r\n[ERROR] : #3 () at file://localhost/Users/mxia/Library/Application%20Support/iPhone%20Simulator/6.0/Applications/00F69E75-A15C-4B35-989A-F08DCF98E18F/KitchenSink.app/app.js:627\r\n[ERROR] : #4 () at file://localhost/Users/mxia/Library/Application%20Support/iPhone%20Simulator/6.0/Applications/00F69E75-A15C-4B35-989A-F08DCF98E18F/KitchenSink.app/app.js:492\r\n[ERROR] : #5 () at file://localhost/Users/mxia/Library/Application%20Support/iPhone%20Simulator/6.0/Applications/00F69E75-A15C-4B35-989A-F08DCF98E18F/KitchenSink.app/app.js:459\r\n[ERROR] : #6 () at file://localhost/Users/mxia/Library/Application%20Support/iPhone%20Simulator/6.0/Applications/00F69E75-A15C-4B35-989A-F08DCF98E18F/KitchenSink.app/app.js:391\r\n[ERROR] : #7 () at file://localhost/Users/mxia/Library/Application%20Support/iPhone%20Simulator/6.0/Applications/00F69E75-A15C-4B35-989A-F08DCF98E18F/KitchenSink.app/app.js:662\r\n[ERROR] : TypeError: '[object Object]' is not a constructor (evaluating 'new MessageWindow()')\r\n[ERROR] : File: app.js\r\n[ERROR] : Line: 68\r\n[ERROR] : SourceId: 318129632\r\n[ERROR] : Backtrace:\r\n[ERROR] : #0 anonymous() at :123\r\n[ERROR] : #1 () at file://localhost/Users/mxia/Library/Application%20Support/iPhone%20Simulator/6.0/Applications/00F69E75-A15C-4B35-989A-F08DCF98E18F/KitchenSink.app/app.js:627\r\n[ERROR] : #2 () at file://localhost/Users/mxia/Library/Application%20Support/iPhone%20Simulator/6.0/Applications/00F69E75-A15C-4B35-989A-F08DCF98E18F/KitchenSink.app/app.js:492\r\n[ERROR] : #3 () at file://localhost/Users/mxia/Library/Application%20Support/iPhone%20Simulator/6.0/Applications/00F69E75-A15C-4B35-989A-F08DCF98E18F/KitchenSink.app/app.js:459\r\n[ERROR] : #4 () at file://localhost/Users/mxia/Library/Application%20Support/iPhone%20Simulator/6.0/Applications/00F69E75-A15C-4B35-989A-F08DCF98E18F/KitchenSink.app/app.js:391\r\n[ERROR] : #5 () at file://localhost/Users/mxia/Library/Application%20Support/iPhone%20Simulator/6.0/Applications/00F69E75-A15C-4B35-989A-F08DCF98E18F/KitchenSink.app/app.js:662\r\n[INFO] : tab = Controls, prevTab = null\r\n{code}\r\n\r\nHowever, the app does reload and update correctly.", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-31T00:47:01.000+0000", "updated": "2013-07-31T00:48:12.000+0000" }, { "id": "264259", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This error is thrown due to the code commented out at the end of the ui/common/MessageWindow.js file. For some reason the Function constructor does not properly evaluate it.", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-31T20:45:06.000+0000", "updated": "2013-07-31T20:45:06.000+0000" }, { "id": "284193", "author": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Verified fix with environment:\r\n\r\nAppcelerator Studio: 3.2.0.201312121648\r\nSDK: 3.2.0.v20131212122847\r\nalloy: 1.3.0-cr\r\nacs: 1.0.10\r\nnpm: 1.3.2\r\ntitanium: 3.2.0-cr3\r\ntitanium-code-processor: 1.1.0-cr2\r\nMac OSX 10.9 Mavericks\r\niOS Simulator\r\n\r\n", "updateAuthor": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-13T09:30:24.000+0000", "updated": "2013-12-13T09:30:24.000+0000" }, { "id": "284194", "author": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Reopening to add label", "updateAuthor": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-13T09:31:08.000+0000", "updated": "2013-12-13T09:31:08.000+0000" }, { "id": "284195", "author": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Closing the issue.", "updateAuthor": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-13T09:31:51.000+0000", "updated": "2013-12-13T09:31:51.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }