{ "id": "136043", "key": "TIMOB-17607", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-12-08T19:37:31.000+0000", "created": "2014-09-03T10:19:15.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.4.0" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [ { "id": "40849", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "136027", "key": "TIMOB-17605", "fields": { "summary": "CLI: CLI throws an error while reading platform input value given for “ti build -p” or “ti build —platform” commands.", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2017-03-20T21:51:19.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "attachment": [], "flagged": false, "summary": "CLI: Some iOS build options with \"ti build -p iOS\" command prompts for input value along with error message.", "creator": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Tested on: \r\n1. Mac OSX 10.9.4 \r\n2. Appcelerator Studio, build: 3.4.0.201409021758 \r\n3. Titanium SDK, build: 3.4.0.v20140829184521 \r\n4. Titanium CLI, build: 3.4.0-dev \r\n5. Alloy: 1.5.0-dev \r\n6. Xcode 6 beta 6", "comment": { "comments": [ { "id": "321573", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm not sure we needed both tickets. I assume the underlying issue is similar.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-03T14:04:48.000+0000", "updated": "2014-09-03T14:04:48.000+0000" }, { "id": "321712", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "body": "[~ingo],\r\n\r\nJust giving more clarification on the above tickets.\r\nWith this ticket TIMOB-17607, CLI just gives error message with the above specified options and prompt the user for the input value.After user provides the input value, CLI reads that value and project builds successfully.\r\n\r\nWith the other ticket TIMOB-17605, CLI does not read the platform value provided by user for the prompt and gives error message and stop the project building process.So the user will not be able to build the project in this case.", "updateAuthor": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-09-04T03:24:11.000+0000", "updated": "2014-09-04T03:35:13.000+0000" }, { "id": "334104", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR: https://github.com/appcelerator/titanium/pull/172\r\n\r\nFollow the {{STEPS TO REPRODUCE}} listed above, no error message if the option has command prompt available.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2014-12-01T08:53:48.000+0000", "updated": "2014-12-01T12:37:05.000+0000" }, { "id": "335427", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I have actually run into this issue myself where I type a long 2-3 line command and forget to specify an option value. Since I get the error message, I know exactly why I am being prompted for an already specified option. If we remove this error message then I have no idea why I am being prompted for an option I have already specified. \r\n\r\nI would recommend keeping this error message as it is very helpful. I am resolving this ticket as invalid but I am open to discussion if you disagree. It is really easy to \"fix\" these type of issues but we need to take a step back and understand the user experience.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-08T19:37:31.000+0000", "updated": "2014-12-08T19:53:28.000+0000" }, { "id": "335535", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "You have a valid point! \r\nThe error prompt might seem a little obtrusive initially, but it has been a useful reminder. It didn't come across my mind that this could be by design. :) \r\n", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2014-12-09T04:08:16.000+0000", "updated": "2014-12-09T04:08:16.000+0000" }, { "id": "335536", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "updateAuthor": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-12-09T04:16:04.000+0000", "updated": "2014-12-09T04:17:05.000+0000" }, { "id": "335548", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I agree that it should be consistent. Either we display a message in all cases or we don't display it at all. I have never used \"V\" option. Is it a shorthand version of \"--developer-name\"?", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-09T06:44:44.000+0000", "updated": "2014-12-09T06:51:37.000+0000" }, { "id": "335549", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "Yup, it's required when target is device. ", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2014-12-09T06:53:43.000+0000", "updated": "2014-12-09T06:53:43.000+0000" }, { "id": "335550", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "body": "[~ngupta] Yes, -V option is a shorthand version for specifying developer name for iOS.", "updateAuthor": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-12-09T06:56:50.000+0000", "updated": "2014-12-09T06:56:50.000+0000" }, { "id": "414010", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T21:51:19.000+0000", "updated": "2017-03-20T21:51:19.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }