{ "id": "115841", "key": "TIMOB-14192", "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": "15646", "description": "2013 Sprint 18", "name": "2013 Sprint 18", "archived": true, "released": true, "releaseDate": "2013-09-06" }, { "id": "15674", "description": "2013 Sprint 18 Tooling", "name": "2013 Sprint 18 Tooling", "archived": true, "released": true, "releaseDate": "2013-09-06" }, { "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-08-30T21:54:08.000+0000", "created": "2013-06-12T18:39:50.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.1.1", "qe-closed-3.2.0", "qe-testadded", "samples" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [ { "id": "29643", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "outwardIssue": { "id": "116084", "key": "TIMOB-14259", "fields": { "summary": "Code Processor: tiapp.xml properties should be exposed via Ti.App.Properties", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-03-14T08:40:13.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": "13102", "name": "Code Processor", "description": "Analyzes JavaScript source" } ], "description": "h5. Problem description\r\nRunning the Code Analyzer on the Field Service App, an \"ACS CREDENTIALS NOT SPECIFIED! (2 occurances)\" error is reported in the Code Analyzer report.\r\n\r\nh5. Steps to reproduce\r\n1. Import the Field Service App\r\n2. 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)\r\n3. Run the Code Analyzer and check results.\r\n\r\nResult: \"ACS CREDENTIALS NOT SPECIFIED! (2 occurances)\" error is reported in the Code Analyzer report.\r\nThe File being pointed is the ti.cloud.js module itself.\r\n\r\nSee screenshot.", "attachment": [ { "id": "39774", "filename": "Screen Shot 2013-06-12 at 11.36.02 AM.png", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-12T18:39:50.000+0000", "size": 20538, "mimeType": "image/png" } ], "flagged": false, "summary": "Code Processor: FieldService App: \"ACS CREDENTIALS NOT SPECIFIED!\" error is being reported", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 3.1.1.v20130611153550\r\nAppcelerator Studio 3.1.1.201306101955\r\nCode Processor 1.0.1-cr4\r\nAlloy 1.1.3-cr\r\nNode 0.8.22", "comment": { "comments": [ { "id": "257445", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "user needs to supply own credentials, please confirm with docs Fede", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-12T20:39:09.000+0000", "updated": "2013-06-12T20:39:09.000+0000" }, { "id": "257451", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "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.", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-12T20:56:31.000+0000", "updated": "2013-06-12T20:56:31.000+0000" }, { "id": "257671", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening after team discussion.\r\nBehavior currently being investigated.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-13T18:15:11.000+0000", "updated": "2013-06-13T18:15:11.000+0000" }, { "id": "268408", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium-code-processor/pull/238", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-27T18:15:23.000+0000", "updated": "2013-08-27T18:15:23.000+0000" }, { "id": "268883", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "To test: run against the FSA and see that this specific exception is gone", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-29T17:02:14.000+0000", "updated": "2013-08-29T17:02:14.000+0000" }, { "id": "269089", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "install with: sudo npm install -g git://github.com/bryan-m-hughes/titanium-code-processor#timob-14259", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-30T18:46:25.000+0000", "updated": "2013-08-30T18:46:25.000+0000" }, { "id": "269140", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Merged PR.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-08-30T21:54:08.000+0000", "updated": "2013-08-30T21:54:08.000+0000" }, { "id": "286750", "author": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Verified the fix with:\r\nAppcelerator Studio, build: 3.2.0.201312191455\r\nSDK: 3.2.0.GA\r\nXcode: 5.0\r\nacs:1.0.11\r\nalloy:1.3.1-beta\r\njake:0.7.6\r\nnpm:1.3.2\r\ntitanium:3.2.0\r\ntitanium-code-processor:1.1.0", "updateAuthor": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-01-06T10:46:31.000+0000", "updated": "2014-01-06T10:46:31.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }