{ "id": "160934", "key": "ALOY-1503", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "17730", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-07-05" }, { "id": "18066", "name": "alloy 1.9.0", "archived": false, "released": true, "releaseDate": "2016-04-23" }, { "id": "18190", "name": "alloy 1.9.1", "archived": false, "released": true, "releaseDate": "2016-07-04" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-06-10T00:59:54.000+0000", "created": "2016-06-09T02:52:24.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2016-08-01T19:10:42.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": "12332", "name": "Titanium SDK", "description": "Any integration or issues with the TiSDK" } ], "description": "h3. When alloy compile below tss,\r\n{code}\r\n\"#webView[platform=android]\":{\r\n\tblacklistedURLs : ['intent://','ispmobile://','market://'],\r\n}\r\n\r\n\"#webView[platform=ios]\":{\r\n\tblacklistedURLs : ['intent://'],\r\n}\r\n{code}\r\n\r\nh3. Result\r\nAfter alloy compiling, /Resources/android/app/controller/index.js (Android result)\r\n{code}\r\n $.__views.webView = Ti.UI.createWebView({\r\n id: \"webView\"\r\n });\r\n{code}\r\n\r\nh3. Expected Result\r\nit should be\r\n{code}\r\n $.__views.webView = Ti.UI.createWebView({\r\n id: \"webView\",\r\n blacklistedURLs : ['intent://','ispmobile://','market://'],\r\n });\r\n{code}\r\n\r\nh3. But! In this case, it works\r\n\r\nBut, after change style order like below: it works properly. \r\nBefore : android rule is first\r\nAfter : iOS rule is first\r\n\r\n{code}\r\n\"#webView[platform=ios]\":{\r\n\tblacklistedURLs : ['intent://'],\r\n}\r\n\r\n\"#webView[platform=android]\":{\r\n\tblacklistedURLs : ['intent://','ispmobile://','market://'],\r\n}\r\n\r\n{code}\r\n\r\nh3. Additional Notice\r\nThis bug appear only when property has array value.", "attachment": [], "flagged": false, "summary": "After Alloy compile, property which has array disappear.", "creator": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "subtasks": [], "reporter": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "environment": "Alloy 1.9.0\r\nTiSDK 5.2.x and 5.4.x", "closedSprints": [ { "id": 642, "state": "closed", "name": "2016 Sprint 12 Tooling", "startDate": "2016-06-04T00:32:46.922Z", "endDate": "2016-06-18T00:32:00.000Z", "completeDate": "2016-06-20T04:26:41.371Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "387901", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "weird bug.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-06-09T03:13:55.000+0000", "updated": "2016-06-09T03:13:55.000+0000" }, { "id": "387904", "author": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "body": "Yes! SUPER WEIRD! :(", "updateAuthor": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "created": "2016-06-09T03:31:21.000+0000", "updated": "2016-06-09T03:31:21.000+0000" }, { "id": "387970", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR: https://github.com/appcelerator/alloy/pull/791", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2016-06-09T20:45:10.000+0000", "updated": "2016-06-09T20:45:10.000+0000" }, { "id": "387997", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR Merged.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-06-10T00:59:24.000+0000", "updated": "2016-06-10T00:59:24.000+0000" }, { "id": "392137", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed, using:\r\n\r\nMacOS 10.11.5 (15F31a)\r\nTi SDK 5.4.0.v20160801022303\r\nAppc NPM 4.2.7\r\nAppc CLI 5.4.0-37\r\nAlloy 1.9.1\r\nXcode 7.3.1 (7D1014)\r\n\r\nProperties with arrays appear correctly after compiling, regardless of which platform is defined first. Tested with multiple properties, with different array values, defined in various orders in the TSS and in-line in the XML. In each case, the property contained the correct array values after compilation.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-08-01T19:10:42.000+0000", "updated": "2016-08-01T19:10:42.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }