{ "id": "132431", "key": "TIMOB-17251", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": [], "resolution": null, "resolutiondate": null, "created": "2014-06-30T22:10:22.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "cb-tooling", "qe-3.3.0" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-01-04T17:02:42.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" }, { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "h5. To reproduce\r\n1. Create a default project via Studio \r\n2. Distribute - Android App Store \r\n3. Type a wrong password, entering credentials\r\n\r\nh5. Actual result\r\n{code}\r\n[ERROR] : Invalid \"--store-password\" value \"hhhhhhhhhhhh\"\r\nFor help, run: titanium help build\r\n[ERROR] : Invalid \"--alias\" value \"correct value here\"\r\n{code}\r\n\r\nh5. Expected result\r\n[ERROR] for password only", "attachment": [], "flagged": false, "summary": "CLI: Passing wrong password and correct alias, when building for android, results in Error for both", "creator": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac osx 10.9.4 Mavericks\r\nAppcelerator Studio, build: 3.3.0.201406231625\r\nTitanium SDK, build: 3.3.0.v20140626144112 \r\nNode.JS Version: v0.10.28 \r\nNPM Version: 1.4.9 \r\nacs@1.0.15 \r\nalloy@1.4.0-rc3\r\nnpm@1.4.9 \r\ntitanium@3.3.0-rc4 \r\ntitanium-code-processor@1.1.1", "comment": { "comments": [ { "id": "311748", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "FYI, I cannot validate the alias until the store password works. I probably should not be trying to validate the alias if the password is bad. -The fix is probably trivial.-\r\n\r\nh4. UPDATE 1/4/2017\r\n\r\nTurns out this is NOT trivial to fix. The problem is when {{\\-\\-no\\-prompt}} is specified, the Titanium CLI will validate ALL command line options and in order to validate {{\\-\\-alias}}, we need to have a valid store password.\r\n\r\nTo fix this, we need a way of {{\\-\\-alias}} to know whether or not {{\\-\\-store-password}} was valid. We can hack a flag in the Android build that tracks this, but this is not ideal. It would be better if the Titanium CLI could track this for us, but this again is not trivial.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-07-01T02:12:51.000+0000", "updated": "2017-01-04T17:02:34.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }