{ "id": "137535", "key": "TIMOB-17811", "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": "16586", "description": "Release 3.4.2", "name": "Release 3.4.2", "archived": false, "released": true, "releaseDate": "2017-03-11" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2014-10-01T16:04:06.000+0000", "created": "2014-10-01T10:03:23.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "3.4.0", "windows7" ], "versions": [], "issuelinks": [ { "id": "41878", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "137368", "key": "TIMOB-17808", "fields": { "summary": "CLI: All commands fail when Titanium SDK 3.3.0 or older is the selected SDK", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2015-03-03T22:42: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" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "At [tisdk3fixes.js:75|https://github.com/appcelerator/titanium/blob/master/hooks/tisdk3fixes.js#L75] you check for {{cli.sdk.platforms.iphone.path}} but actually {{cli.sdk.platforms.iphone}} is undefined.\r\n\r\nYou can add at line 74 the following as a solution:\r\n\r\n{code:js}\r\n// ...\r\nif (!cli.sdk.platforms.iphone) {\r\n return callback();\r\n}\r\n// ...\r\n{code}\r\n\r\n", "attachment": [], "flagged": false, "summary": "CLI: Check for iPhone platform in tisdk3fixes.js breaks Windows environment", "creator": { "name": "yuchi", "key": "yuchi", "displayName": "Pier Paolo Ramon", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "yuchi", "key": "yuchi", "displayName": "Pier Paolo Ramon", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium SDK 3.4", "comment": { "comments": [ { "id": "326581", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~cb1kenobi] let me know if you can take this in this sprint.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-01T14:23:58.000+0000", "updated": "2014-10-01T14:23:58.000+0000" }, { "id": "326585", "author": { "name": "yuchi", "key": "yuchi", "displayName": "Pier Paolo Ramon", "active": true, "timeZone": "Europe/Berlin" }, "body": "Here’s the proposed solution as a PR: https://github.com/appcelerator/titanium/pull/165", "updateAuthor": { "name": "yuchi", "key": "yuchi", "displayName": "Pier Paolo Ramon", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-10-01T15:25:34.000+0000", "updated": "2014-10-01T15:25:34.000+0000" }, { "id": "326587", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Dupe of TIMOB-17808.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-10-01T16:04:06.000+0000", "updated": "2014-10-01T16:04:06.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }