{ "id": "165829", "key": "TIMOB-24382", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-02-10T11:10:05.000+0000", "created": "2017-02-08T01:56:44.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "parity" ], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "issuelinks": [ { "id": "54220", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "164484", "key": "TIMOB-24135", "fields": { "summary": "Windows: eventListener not maintained when a list is filtered based off a search", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-02-13T22:55:50.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "This is parity issue to align with behavior on iOS. We should accept logical error when developer tries to add one component multiple times onto same parent. For instance following code does not throw exception on iOS, but on Windows it causes exception with {{add: No installed components were detected. Element is already the child of another element}}. We should be able to ignore this type of logical errors to keep parity with iOS.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:'green'});\r\n\r\nvar label = Ti.UI.createLabel({text:'Test'});\r\n\r\nwin.add(label);\r\nwin.add(label);\r\nwin.open();\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Windows: Adding same component multiple times should not cause error", "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": 808, "state": "closed", "name": "2017 Sprint 03 SDK", "startDate": "2017-01-28T21:12:30.215Z", "endDate": "2017-02-12T21:12:00.000Z", "completeDate": "2017-02-12T23:37:14.667Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "406705", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/948", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-02-09T07:54:30.000+0000", "updated": "2017-02-09T07:54:30.000+0000" }, { "id": "406936", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified improvement, when running the test case provided in the description no error message is shown and the test label is shown on a green background. \r\n\r\n*Environment*\r\n{code:java}\r\nWindows Emulator: 10.0.14393\r\nPhone : Lumia 640 LTE (RM-1073)\r\nOperating System:\r\nName = Microsoft Windows 10 Pro\r\nVersion = 10.0.14393\r\nArchitecture = 32bit\r\n# CPUs = 4\r\nMemory = 17034395648\r\n \r\nNode.js:\r\nNode.js Version = 4.6.0 \r\nnpm Version = 2.15.9\r\n \r\nTitanium SDK:\r\nSDK Version = 6.1.0.v20170213134957\r\n{code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-02-13T22:55:31.000+0000", "updated": "2017-02-13T22:55:31.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }