{ "id": "124821", "key": "ALOY-929", "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": "15758", "description": "Alloy 1.4.0", "name": "Alloy 1.4.0", "archived": false, "released": true, "releaseDate": "2014-07-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-01-20T15:28:58.000+0000", "created": "2014-01-15T11:55:16.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-closed-3.3.0", "qe-testadded", "require", "widgets" ], "versions": [ { "id": "15403", "description": "Alloy 1.3.0", "name": "Alloy 1.3.0", "archived": false, "released": true, "releaseDate": "2013-12-20" } ], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-09-26T09:40:15.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": [], "description": "Given a view like this:\r\n\r\n{code}\r\n\r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nFor both iOS and Android the widget gets passed a {{children}} property including references to both {{$.__views.a}} and {{$.__views.b}}, with one of them of course not existing, so giving {{null}} in the widget when looping through them.", "attachment": [], "flagged": false, "summary": "Widget/Require includes references to child elements targeted for other platforms", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "Alloy 1.3.0", "comment": { "comments": [ { "id": "288803", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering for further evaluation and prioritization as it appears to be a legitimate issue and not related to Titanium.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-20T07:56:11.000+0000", "updated": "2014-01-20T07:56:11.000+0000" }, { "id": "288822", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/alloy/pull/301\r\ntest app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-929\r\n\r\nFunctional test:\r\n\r\n# Run the test app. \r\n# You should see output once it loads in the console.\r\n# The output should list only one child (results are from an ios run)\r\n{code}\r\n[DEBUG] [INFO] (\r\n[DEBUG] [INFO] \"[object a]\"\r\n[DEBUG] [INFO] )\r\n{code}\r\n\r\nPrior to this fix, there would be 2 children in the printed list. One child would be defined, the other would be , like this if you ran for ios:\r\n\r\n{code}\r\n[DEBUG] [INFO] (\r\n[DEBUG] [INFO] \"[object a]\",\r\n[DEBUG] [INFO] \"\"\r\n[DEBUG] [INFO] )\r\n{code}", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-20T15:28:58.000+0000", "updated": "2014-01-20T15:28:58.000+0000" }, { "id": "304774", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the FIXED with:\r\n\r\nAppc-Studio:3.3.0.201405121247\r\nsdk:3.3.0.v20140513191712\r\nacs:1.0.14\r\nalloy:1.4.0-dev\r\nnpm:1.3.2\r\ntitanium:3.3.0-dev\r\ntitanium-code-processor:1.1.1\r\nxcode:5.1.1\r\nDevice:Iphone5s(v7.1.1),Nexus7(v4.4.2)\r\n\r\nWorking as expected.\r\nHence closing.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-14T10:25:17.000+0000", "updated": "2014-05-14T10:25:17.000+0000" }, { "id": "397221", "author": { "name": "hazemkhaled", "key": "hazemkhaled", "displayName": "Hazem Khaled", "active": true, "timeZone": "Europe/Istanbul" }, "body": "Issue still there with formfactor, child of zero come null with this case\r\n\r\n{code:xml}\r\n\r\n \r\n \r\n