[TIMOB-14192] Code Processor: FieldService App: "ACS CREDENTIALS NOT SPECIFIED!" error is being reported
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-08-30T21:54:08.000+0000 |
Affected Version/s | Release 3.1.1 |
Fix Version/s | 2013 Sprint 18, 2013 Sprint 18 Tooling, Release 3.2.0 |
Components | Code Processor |
Labels | qe-3.1.1, qe-closed-3.2.0, qe-testadded, samples |
Reporter | Federico Casali |
Assignee | Bryan Hughes |
Created | 2013-06-12T18:39:50.000+0000 |
Updated | 2014-03-14T08:40:13.000+0000 |
Description
Problem description
Running the Code Analyzer on the Field Service App, an "ACS CREDENTIALS NOT SPECIFIED! (2 occurances)" error is reported in the Code Analyzer report.Steps to reproduce
1. Import the Field Service App 2. Be sure to have a Resources/app.js file present in the project folder (build/run once or create it manually - app.js could be also empty) 3. Run the Code Analyzer and check results. Result: "ACS CREDENTIALS NOT SPECIFIED! (2 occurances)" error is reported in the Code Analyzer report. The File being pointed is the ti.cloud.js module itself. See screenshot.Attachments
File | Date | Size |
---|---|---|
Screen Shot 2013-06-12 at 11.36.02 AM.png | 2013-06-12T18:39:50.000+0000 | 20538 |
user needs to supply own credentials, please confirm with docs Fede
It's more complicated than that. Credentials are stored in the file system (ultimately), which means they are a runtime value that can change from run to run, meaning the code processor cannot understand what the values are. I'm looking into this deeper to see if I can come up with a solution, but this may not be solvable.
Reopening after team discussion. Behavior currently being investigated.
PR: https://github.com/appcelerator/titanium-code-processor/pull/238
To test: run against the FSA and see that this specific exception is gone
install with: sudo npm install -g git://github.com/bryan-m-hughes/titanium-code-processor#timob-14259
Merged PR.
Verified the fix with: Appcelerator Studio, build: 3.2.0.201312191455 SDK: 3.2.0.GA Xcode: 5.0 acs:1.0.11 alloy:1.3.1-beta jake:0.7.6 npm:1.3.2 titanium:3.2.0 titanium-code-processor:1.1.0