[TIMOB-14202] LiveView: Field service app doesn't work with LiveView
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Reopened |
Resolution | Unresolved |
Affected Version/s | Release 3.1.1, Release 3.2.3 |
Fix Version/s | 2013 Sprint 16, 2013 Sprint 16 Tooling, Release 3.1.2, Release 3.2.0 |
Components | LiveView |
Labels | qe-3.1.1, qe-testadded |
Reporter | Anshu Mittal |
Assignee | Unknown |
Created | 2013-06-13T11:43:52.000+0000 |
Updated | 2018-02-28T20:04:00.000+0000 |
Description
Field service app doesn't work with enabled liveview.
Steps to reproduce:
1. Import the field service app to the project explorer.
2. Enable liveview and run the app on iOS simulator.
3. Click 'login' button.
4. An alert is dispalyed with the message,"Would you like to generate a demo user?"
5. Make changes in the code and change the alert message. Save the app.
Expected:
The changes should reflect in the simulator.
Actual:
An script Error is observed in console and the app hangs at login button. Error logs are as below:
ERROR] : Script Error {
[ERROR] : backtrace = "#0 loginClick() at :22";
[ERROR] : line = 10;
[ERROR] : message = "'undefined' is not an object (evaluating 'Ti.UI.ActivityIndicatorStyle.DARK')";
[ERROR] : name = TypeError;
[ERROR] : sourceId = 200756288;
[ERROR] : }
I was able to reproduce the issue, using: Appcelerator Studio, build: 3.1.1.201306131423 Titanium SDK, build: 3.1.1.v20130613185544 com.appcelerator.titanium.liveview.core_1.0.0.1370907521/node_modules/liveview/hook iPad 6.1 simulator
Here is a trace I see when clicking on the Login button without entering a usernam/password:
The configuration is as followed: Appcelerator Studio, build: 3.1.2.201307261628 Titanium SDK 3.1.2.v2013072316031 LiveView 0.1.29 Alloy 1.2.0-alpha OSX 10.8.3 iPad Simulator 6.0
Marking this resolved now we fixed the Field Service app for references to Alloy global variables.
Verified fix with environment: Appcelerator Studio: 3.2.0.201312151544 SDK: 3.2.0.v20131215211321 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 Changes are now reflected in simulator when launching Field service app with liveview enabled.
Issue is reproducible using the following environment: Tested on: Device : Google Nexus 5, Android Version: 4.4.2 SDK: 3.2.3.v20140414150917 LiveView: 1.0.4 CLI version : 3.2.3-alpha3 OS : MAC OSX 10.9.2 Alloy: 1.3.1 ACS: 1.0.14 npm:1.3.2 Appcelerator Studio, build: 3.2.3.201404102002 titanium-code-processor: 1.1.1-alpha XCode : 5.1 Error occurs as [INFO] : [LiveView] Error Evaluating app.js @ Line: undefined [ERROR] : ReferenceError: parts is not defined [ERROR] : File: app.js [ERROR] : Line: undefined [ERROR] : SourceId: undefined [ERROR] : Backtrace: [ERROR] : undefined
This issue was previously scheduled to be worked on in more than one sprint: * 'Release 3.1.2' (on board '3.1.X Triage') * 'Release 3.0.1/TS 3.0.2' (on board '3.1.0 Triage') * 'iOS/Android' (on board '3.1.0 Planning') * 'Tooling' (on board '3.2.0 Planning') Starting from JIRA Agile 6.3, an issue can only belong to a single future sprint. Read more about this change: http://docs.atlassian.com/agile/docs-0630/Sprint+Marker+Migration This issue is now scheduled for future sprint 'Release 3.1.2' (on board '3.1.X Triage'). If this is incorrect, please update the issue accordingly. This comment was automatically generated by JIRA. If it is no longer relevant, please feel free to delete it.