Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14192] Code Processor: FieldService App: "ACS CREDENTIALS NOT SPECIFIED!" error is being reported

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-08-30T21:54:08.000+0000
Affected Version/sRelease 3.1.1
Fix Version/s2013 Sprint 18, 2013 Sprint 18 Tooling, Release 3.2.0
ComponentsCode Processor
Labelsqe-3.1.1, qe-closed-3.2.0, qe-testadded, samples
ReporterFederico Casali
AssigneeBryan Hughes
Created2013-06-12T18:39:50.000+0000
Updated2014-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

FileDateSize
Screen Shot 2013-06-12 at 11.36.02 AM.png2013-06-12T18:39:50.000+000020538

Comments

  1. Thomas Huelbert 2013-06-12

    user needs to supply own credentials, please confirm with docs Fede
  2. Bryan Hughes 2013-06-12

    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.
  3. Federico Casali 2013-06-13

    Reopening after team discussion. Behavior currently being investigated.
  4. Bryan Hughes 2013-08-27

    PR: https://github.com/appcelerator/titanium-code-processor/pull/238
  5. Bryan Hughes 2013-08-29

    To test: run against the FSA and see that this specific exception is gone
  6. Bryan Hughes 2013-08-30

    install with: sudo npm install -g git://github.com/bryan-m-hughes/titanium-code-processor#timob-14259
  7. Praveen Innamuri 2013-08-30

    Merged PR.
  8. Pragya Rastogi 2014-01-06

    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

JSON Source