{ "id": "168060", "key": "TIMOB-24770", "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": "19572", "description": "Important fixes for 6.1.0", "name": "Release 6.1.1", "archived": false, "released": true, "releaseDate": "2017-06-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-06-09T15:43:59.000+0000", "created": "2017-06-02T09:28:41.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "badge", "dashboarditem", "dashboardview", "qe-6.1.1" ], "versions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-06-12T13:44:54.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "When you display a badge on a DashboardItem (with a dashboardView),\r\nthe badge background is transparent whereas it should be red.\r\n\r\nThis does not happen with Ti SDK 6.0.4.GA.\r\n", "attachment": [ { "id": "62336", "filename": "Test iOS 2017.zip", "author": { "name": "jsgalloo", "key": "jsgalloo", "displayName": "Jean-Sébastien GALLOO", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-06-05T07:50:05.000+0000", "size": 10411536, "mimeType": "application/zip" }, { "id": "62330", "filename": "with Ti SDK 6.0.4GA .png", "author": { "name": "jsgalloo", "key": "jsgalloo", "displayName": "Jean-Sébastien GALLOO", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-06-02T09:25:28.000+0000", "size": 142669, "mimeType": "image/png" }, { "id": "62331", "filename": "with Ti SDK 6.1.0GA .png", "author": { "name": "jsgalloo", "key": "jsgalloo", "displayName": "Jean-Sébastien GALLOO", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-06-02T09:25:28.000+0000", "size": 137083, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Incorrect badge display on Ti.UI.DashboardView (no background image)", "creator": { "name": "jsgalloo", "key": "jsgalloo", "displayName": "Jean-Sébastien GALLOO", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "jsgalloo", "key": "jsgalloo", "displayName": "Jean-Sébastien GALLOO", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Mac OS X 10.11.5\r\nTitanium SDK 6.1.0.GA\r\nAppcelerator Studio, build: 4.8.1.201612050850\r\nXCode 8.2.1\r\n", "closedSprints": [ { "id": 903, "state": "closed", "name": "2017 Sprint 12 SDK", "startDate": "2017-06-05T00:15:46.290Z", "endDate": "2017-06-19T00:15:00.000Z", "completeDate": "2017-06-19T16:09:22.870Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "420824", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Do you may use app-thinning and/or use an icon that may have the same name? We need a test-case and full environment anyway, thank you!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-06-02T16:03:02.000+0000", "updated": "2017-06-02T16:03:02.000+0000" }, { "id": "420899", "author": { "name": "jsgalloo", "key": "jsgalloo", "displayName": "Jean-Sébastien GALLOO", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi Hans, \r\n\r\nI joined a test project with only dashboard inside.\r\n", "updateAuthor": { "name": "jsgalloo", "key": "jsgalloo", "displayName": "Jean-Sébastien GALLOO", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-06-05T07:50:08.000+0000", "updated": "2017-06-05T07:54:57.000+0000" }, { "id": "420900", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hey [~jsgalloo],\r\n\r\nyou are correct, the (very legacy) files have been removed accidentally between 6.0.x and 6.1.0.GA. There will be restored in 6.1.1.GA. However, I noticed they were never updated for retina and the library used was not maintained for 8 years. Since it is iOS-only, it will also soon be moved out of the core and be made available through an own module, so it won't change much for you. Just as a slight warning for the SDK release 7.0.0 :-).\r\n\r\nPR (master): https://github.com/appcelerator/titanium_mobile/pull/9107\r\nPR (6_1_X): https://github.com/appcelerator/titanium_mobile/pull/9108\r\n\r\nTest-Case (expected behavior: A red badge-image should be visible in the upper right of the item):\r\n{code:js}\r\nvar self = Ti.UI.createWindow({\r\n backgroundColor:'white'\r\n});\r\n\r\nvar item = Titanium.UI.createDashboardItem({\r\n image : '/images/dashboard/bouton_on.png',\r\n width: 186,\r\n height: 196,\r\n badge: 12\r\n});\r\n \r\nvar dashboard = Titanium.UI.createDashboardView({\r\n data: [item],\r\n top: 200,\r\n height : 360,\r\n});\r\n\r\nself.add(dashboard);\r\nself.open();\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-06-05T10:37:21.000+0000", "updated": "2017-06-05T10:37:21.000+0000" }, { "id": "421183", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hansknoechel] I know you're already aware of this, but just to summary the test conditions where we still continue to see the bug:\r\nNode Version: 6.10.3\r\nNPM Version: 3.10.10\r\nMac OS: 10.12.4\r\nAppc CLI: 6.2.2\r\nAppc CLI NPM: 4.2.9\r\nTitanium SDK version: master (6.2.0) PR/9107\r\nAppcelerator Studio, build: 4.9.0.201705302345\r\nXcode 8.3.2\r\n", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-06-07T17:07:28.000+0000", "updated": "2017-06-07T17:07:28.000+0000" }, { "id": "421727", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, badges are now displayed correctly with a red background on dashboard items.\r\n\r\nTested On:\r\niPhone 7 10.3.2 Device & Simulator\r\nMac OS Sierra (10.12.5)\r\nTi SDK: 6.1.1.v20170609153006\r\nAppc NPM: 4.2.9\r\nApp CLI: 6.1.0\r\n\r\n*Closing ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2017-06-12T13:44:34.000+0000", "updated": "2017-06-12T13:44:34.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }