{ "id": "151615", "key": "TIMOB-19643", "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": "16904", "description": "Release 5.0.2", "name": "Release 5.0.2", "archived": true, "released": true, "releaseDate": "2015-10-01" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-09-30T19:04:24.000+0000", "created": "2015-09-30T09:23:26.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "issuelinks": [ { "id": "49150", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "151616", "key": "TIMOB-19644", "fields": { "summary": "Windows: CLI build error is ignored ", "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 } } } }, { "id": "49148", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "150865", "key": "TIMOB-19442", "fields": { "summary": "Windows: ti build failed when logo image assets with invalid dimension exits", "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": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2015-09-30T21:10:27.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": "10207", "name": "Tooling" } ], "description": "There's a typo at builder.generateAppIcons, which causes runtime error when there's no DefaultIcon.png.\r\n\r\nPR: https://github.com/appcelerator/titanium_mobile/pull/7249\r\n\r\n{code:diff}\r\n if (!fs.existsSync(defaultIcon)) {\r\n if (requiredMissing === 0) {\r\n- this.logger.warn(__n('There is a missing app icon', 'There are missing app icons', icons.length));\r\n+ this.logger.warn(__('There is a missing app icon', 'There are missing app icons', icons.length));\r\n this.logger.warn(__('You can either create the missing icons below or create an image named \"DefaultIcon.png\" in the root of your project'));\r\n...\r\n{code}", "attachment": [], "flagged": false, "summary": "CLI: Runtime error when no DefaultIcon.png exists", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 502, "state": "closed", "name": "2015 Sprint 20 Tooling", "startDate": "2015-09-28T16:01:48.429Z", "endDate": "2015-10-10T01:01:00.000Z", "completeDate": "2015-10-12T21:13:39.920Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "365383", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~cbarber] this looks like a typo for titanium cli no?", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-30T09:26:12.000+0000", "updated": "2015-09-30T09:26:12.000+0000" }, { "id": "365393", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Yes it's a very trivial one. I have pushed a fix for that: https://github.com/appcelerator/titanium_mobile/pull/7249", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-30T11:11:00.000+0000", "updated": "2015-09-30T11:11:00.000+0000" }, { "id": "365431", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This is NOT a typo. {{__n()}} is a valid function that handle pluralization. Did you not see there are 3 arguments? Singular string, plural string, and a number to indicate if it should be plural or not.\r\n\r\n-Either [~kota], [~gmathews], or [~cng] will need to revert the commit ASAP.- I'll do it.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-09-30T16:03:56.000+0000", "updated": "2015-09-30T16:05:41.000+0000" }, { "id": "365432", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Here's the revert: https://github.com/appcelerator/titanium_mobile/pull/7251", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-09-30T16:07:40.000+0000", "updated": "2015-09-30T16:07:40.000+0000" }, { "id": "365433", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master PR: https://github.com/appcelerator/titanium_mobile/pull/7252\r\n5_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/7253", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-09-30T16:17:09.000+0000", "updated": "2015-09-30T16:17:09.000+0000" }, { "id": "365456", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PRs merged.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-30T19:04:24.000+0000", "updated": "2015-09-30T19:04:24.000+0000" }, { "id": "365479", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified fixed. checked builder.js file for the fix to __n( ) not being defined before using. Receive appropriate error when DefaultIcon.png does not exist: \r\n\r\nThere are missing app icons\r\n[ERROR] : You must either create the missing icons below or create an image named \"DefaultIcon.png\" in the root of your project\r\n[ERROR] : If the DefaultIcon.png image is present, the build will use it to generate all missing icons\r\n[ERROR] : It is highly recommended that the DefaultIcon.png be 1024x1024\r\n[ERROR] : Unable to create missing icons:\r\n\r\nOSX Yosemite: 10.10.5\r\nStudio: 4.3.1.201509301939\r\nTi SDK: 5.0.2.v20150930120735\r\nAppc CLI: 5.0.3-11\r\n", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2015-09-30T21:04:20.000+0000", "updated": "2015-09-30T21:04:20.000+0000" }, { "id": "365481", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "ok great, https://github.com/appcelerator/titanium_mobile/pull/7252 worked for me (on Windows) (y)", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-30T21:10:27.000+0000", "updated": "2015-09-30T21:10:27.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }