{ "id": "155227", "key": "TIMOB-20537", "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": "17684", "name": "Release 5.2.1", "archived": false, "released": true, "releaseDate": "2016-03-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-03-15T05:59:02.000+0000", "created": "2016-02-29T23:16:20.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "issuelinks": [ { "id": "50983", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "155573", "key": "ALOY-1365", "fields": { "summary": "Improve how Alloy works with i18n and platform folders", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "50993", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "155594", "key": "TIMOB-20543", "fields": { "summary": "Build flags for custom platform and i18n folders should be reverted", "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": "None", "id": "6" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-24T21:37:16.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": "Android 9 patch splash images not showing with Ti SDK 5.2.0\r\nThe same splash images fine with Ti SDK 5.1.2, but disappear when switch to 5.2.0.\r\nInstead it shows default Appcelerator splash image instead of client splash.\r\n\r\nTo test:\r\n- Use http://ticons.fokkezb.nl to generate Android 9 patch splash images for a client image.\r\n- compile with Ti.SDK.5.2.0\r\n- error result, shows Appcelerator default splash instead of client Android 9 patch splash.\r\n- When switch back to 5.1.2 client 9 patch splash shows.\r\n\r\nFurther notes:\r\n- I'm using theme folders in Alloy.", "attachment": [ { "id": "58365", "filename": "5-1-2-splash-correctpng.png", "author": { "name": "threethirds", "key": "threethirds", "displayName": "Anthony Chung", "active": true, "timeZone": "Australia/Sydney" }, "created": "2016-03-01T00:47:50.000+0000", "size": 50810, "mimeType": "image/png" }, { "id": "58364", "filename": "5-2-0-splash-error.png", "author": { "name": "threethirds", "key": "threethirds", "displayName": "Anthony Chung", "active": true, "timeZone": "Australia/Sydney" }, "created": "2016-03-01T00:47:52.000+0000", "size": 216875, "mimeType": "image/png" }, { "id": "58366", "filename": "test1.zip", "author": { "name": "threethirds", "key": "threethirds", "displayName": "Anthony Chung", "active": true, "timeZone": "Australia/Sydney" }, "created": "2016-03-01T00:47:40.000+0000", "size": 656768, "mimeType": "application/zip" } ], "flagged": false, "summary": "Regression: Alloy-themed i18n and platform folders no longer work since Ti 5.2.0.GA", "creator": { "name": "threethirds", "key": "threethirds", "displayName": "Anthony Chung", "active": true, "timeZone": "Australia/Sydney" }, "subtasks": [], "reporter": { "name": "threethirds", "key": "threethirds", "displayName": "Anthony Chung", "active": true, "timeZone": "Australia/Sydney" }, "environment": null, "closedSprints": [ { "id": 598, "state": "closed", "name": "2016 Sprint 06 Tooling", "startDate": "2016-03-12T01:30:46.475Z", "endDate": "2016-03-26T00:30:00.000Z", "completeDate": "2016-03-28T03:31:22.652Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "378210", "author": { "name": "threethirds", "key": "threethirds", "displayName": "Anthony Chung", "active": true, "timeZone": "Australia/Sydney" }, "body": "# Test project attached.\r\n- I've included a test project.\r\n- Error and correct image screenshots also attached.\r\n\r\n# Test\r\n- Test android 9 patch splash images by switching tiapp.xml from sdk 5.2.0.GA to 5.1.2.GA.\r\n- 5.2.0.GA will show error splash image with appcelerator default instead of client 9 patch.\r\n\r\n# Build environment:\r\n\r\n```\r\nAppcelerator Command-Line Interface, version 5.2.0\r\nCopyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved.\r\n\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.11.3\r\n Architecture = 64bit\r\n # CPUs = 8\r\n Memory = 16.0GB\r\n\r\nNode.js\r\n Node.js Version = 0.12.7\r\n npm Version = 2.11.3\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.6\r\n node-appc Version = 0.2.31\r\n\r\n\r\nAppcelerator Studio, build: 4.5.0.201602170821\r\n(c) Copyright 2012-2014 by Appcelerator, Inc. All rights reserved.\r\n\r\nBuild: jenkins-appcelerator-rcp-master-340 (origin/master)\r\nDate: 17 February 2016, 08:22:10\r\n\r\n```\r\n", "updateAuthor": { "name": "threethirds", "key": "threethirds", "displayName": "Anthony Chung", "active": true, "timeZone": "Australia/Sydney" }, "created": "2016-03-01T00:51:31.000+0000", "updated": "2016-03-01T00:51:31.000+0000" }, { "id": "378233", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello, I was able to reproduce this bug with the given steps and test project. When the splash image is in Alloy theme folder the image doesn't pick up as splash image in SDK 5.2.0.GA. Instead it uses the default splash image. But by creating \"platform\" folder in the project and placing \"android-res\" in that folder I am able to get the splash image as expected, built by both the SDKs. So the bug seems to be in 5.2.0 SDK related to \"theme\" folder in the project.\r\n\r\n*Environment*:\r\n\r\n*Device info:* Nexux7 (android 6.0.1)\r\n*Node.js Version:* 0.12.7\r\n*npm Version:* 2.11.3\r\n*Titanium SDKs:* 5.2.0.GA and 5.1.2.GA\r\n*Java Development Kit Version:* 1.8.0_73\r\n*Titanium CLI Version:* 5.0.5", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-03-01T05:42:34.000+0000", "updated": "2016-03-08T03:07:14.000+0000" }, { "id": "379108", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~threethirds] We will look into this. Meanwhile, can you try the workaround, putting the images in platform folder as indicated above?", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-03-08T03:08:37.000+0000", "updated": "2016-03-08T03:08:37.000+0000" }, { "id": "379131", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I can't get the 9-patch to work with either 5.1.2.GA or 5.2.0.GA. I tested this with both Alloy 1.7.33 and 1.7.35.\r\n\r\nI'm 99% sure this is a bug in Alloy, not in the Titanium SDK.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-03-08T07:15:01.000+0000", "updated": "2016-03-08T07:15:01.000+0000" }, { "id": "379275", "author": { "name": "threethirds", "key": "threethirds", "displayName": "Anthony Chung", "active": true, "timeZone": "Australia/Sydney" }, "updateAuthor": { "name": "threethirds", "key": "threethirds", "displayName": "Anthony Chung", "active": true, "timeZone": "Australia/Sydney" }, "created": "2016-03-09T02:02:29.000+0000", "updated": "2016-03-09T02:02:29.000+0000" }, { "id": "379310", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~cng] [~cbarber] This is not an Alloy bug, but a regression introduced by a recent change in the Titanium CLI embedded in the SDK.\r\n\r\n* This feature (ALOY-858) was originally added through a an [Alloy PR|https://github.com/appcelerator/alloy/pull/662] and [Titanium PR|https://github.com/appcelerator/titanium_mobile/pull/6602/files]\r\n* The Titanium PR was in part reverted as part of a [Titanium PR|https://github.com/appcelerator/titanium_mobile/commit/105a1fdf72e8f349f71ba10c08c738d9160910ec] that added support for {{LaunchLogo.png}} (TIMOB-19684)", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-03-09T09:01:31.000+0000", "updated": "2016-03-09T09:02:11.000+0000" }, { "id": "379351", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "{{\\-\\-platform\\-dir}} was removed from the Titanium build because it was a hack and it was undocumented. It will not be introduced, so let's hope that ALOY-1365 solves it.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-03-09T16:23:28.000+0000", "updated": "2016-03-09T16:23:28.000+0000" }, { "id": "379425", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "It might have been a hack, but reverting it now is a breaking change.\r\n\r\nWe need to revert this revert for 5.2.1.GA (won't make RC), then do ALOY-1365 and only then remove the hack again (TIMOB-20543)\r\n\r\nPR on master: https://github.com/appcelerator/titanium_mobile/pull/7821\r\nPR on 5_2_X: https://github.com/appcelerator/titanium_mobile/pull/7822\r\n\r\nDo we need a 5_3_X as well? Or just resolve ALOY-1365 before that?", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-03-10T10:16:05.000+0000", "updated": "2016-03-10T10:16:05.000+0000" }, { "id": "379715", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Fixed by ALOY-1365.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-03-15T05:59:02.000+0000", "updated": "2016-03-15T05:59:02.000+0000" }, { "id": "380653", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed, by ALOY-1365, using:\r\n\r\nMacOS 10.11.4 (15E65)\r\nStudio 4.5.0.201602170821\r\nTi SDK 5.2.1.v20160318225121\r\nAppc NPM 4.2.4-2\r\nAppc CLI 5.2.1-21\r\nAlloy 1.8.2\r\nXcode 7.3 (7D175)\r\n\r\nThe platform folder contents are copied to the correct location; from the Alloy theme folder to the project root platform folder. Tested using the provided test app and other sample apps", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-03-24T21:37:16.000+0000", "updated": "2016-03-24T21:37:16.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }