[TIMOB-14645] KitchenSink app fails to run with LiveView enabled
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-12-13T09:31:51.000+0000 |
Affected Version/s | Release 3.1.2 |
Fix Version/s | 2013 Sprint 15 Tooling, 2013 Sprint 15, Release 3.1.2, Release 3.2.0 |
Components | LiveView |
Labels | qe-closed-3.2.0, qe-testadded |
Reporter | Praveen Innamuri |
Assignee | Christian Sullivan |
Created | 2013-07-24T19:56:59.000+0000 |
Updated | 2014-02-26T17:46:46.000+0000 |
Description
Steps to reproduce:
* Imported KitchenSink app from Samples.
* Enable Liveview in Studio
* Run the KitchenSink app on iPad simulator.
The below error message appears and the app does not respond from splash screen:
[INFO] : [LiveView] Error Evaluating app.js @ Line: 32
[ERROR] : ReferenceError: Can't find variable: Module
[ERROR] : File: app.js
[ERROR] : Line: 32
[ERROR] : SourceId: 326519360
[ERROR] : Backtrace:
[ERROR] : #0 ApplicationTabGroup() at :14
[ERROR] : #1 () at :45
[ERROR] : #2 anonymous() at :109
[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
[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
[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
[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
[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
However, the app runs without any problems when it is run without liveview.
[~csullivan] I'm getting the following error with the latest 0.1.29 version of LiveView:
However, the app does reload and update correctly.
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.
Verified fix with environment: Appcelerator Studio: 3.2.0.201312121648 SDK: 3.2.0.v20131212122847 alloy: 1.3.0-cr acs: 1.0.10 npm: 1.3.2 titanium: 3.2.0-cr3 titanium-code-processor: 1.1.0-cr2 Mac OSX 10.9 Mavericks iOS Simulator
Reopening to add label
Closing the issue.