{ "id": "132208", "key": "TIMOB-17208", "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": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2015-02-10T07:15:33.000+0000", "created": "2014-06-25T04:51:14.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "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": [ { "id": "39907", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "132321", "key": "TIMOB-17227", "fields": { "summary": "CLI: Passing empty option value, building the project returns Error", "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": "Medium", "id": "3" }, "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": "2015-07-07T18:05:58.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" } ], "description": "titanium build command fails for the flags *-d* and *-A* if there are no path values specified. The behavior of flags are described in following table based on the test result.\r\n|| command || behavior ||\r\n| ti build -d | CLI crashes |\r\n| ti build --project-dir (if current directory is a project directory) | build success |\r\n| ti build --project-dir ( if current directory is not a project directory) | CLI crashes |\r\n| | |\r\n| ti build -A | CLI crashes |\r\n| ti build --android-sdk | build success with default android path |\r\n| ti build --android-sdk (without valid android path settings) | Invalid SDK path error is thrown and prompting for new *SDK path* |\r\n\r\nFor more details, please refer the attached screenshots.\r\n\r\nThis is *not a regression* since issue is occurring in CLI 3.2.3 GA as well.", "attachment": [ { "id": "49255", "filename": "android_sdk_path.png", "author": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-06-25T04:51:14.000+0000", "size": 121405, "mimeType": "image/png" }, { "id": "49256", "filename": "project_dir.png", "author": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-06-25T04:51:14.000+0000", "size": 116715, "mimeType": "image/png" }, { "id": "49257", "filename": "without_valid_android_sdk.png", "author": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-06-25T04:51:14.000+0000", "size": 24280, "mimeType": "image/png" } ], "flagged": false, "summary": "CLI: CLI crashes when \"ti build -d\" and \"ti build -A\" command is run without path values", "creator": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "|| Component || Version ||\r\n| Titanium SDK | 3.3.0.v20140624130120 |\r\n| Node | 0.10.28 |\r\n| ACS | 1.0.14 |\r\n| Alloy | 1.4.0-rc2 |\r\n| NPM | 1.4.9 |\r\n| CLI | 3.3.0-rc3 |\r\n| Titanium-code-processor | 1.1.1 |\r\n| OS | OSX 10.9.3 |", "comment": { "comments": [ { "id": "342753", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "Ti SDK : 3.5.0.GA\r\nTi CLI : 3.4.1", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-02-10T07:15:33.000+0000", "updated": "2015-02-10T07:15:33.000+0000" }, { "id": "357181", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as cannot reproduce. Tested on:\r\n\r\nAppc CLI NPM: 4.1.0-1\r\nAppc CLI Core: 4.1.0-5\r\nArrow: 1.1.0-11\r\nSDK: 4.1.0.v20150706111546\r\nNode: v0.10.38\r\nOS: Yosemite (10.10.4)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-07-07T18:05:47.000+0000", "updated": "2015-07-07T18:05:47.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }