{ "id": "169588", "key": "TIMOB-25178", "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": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-09-08T13:39:43.000+0000", "created": "2017-08-16T23:29:26.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "19870", "description": "", "name": "Release 6.1.2", "archived": false, "released": true, "releaseDate": "2017-08-03" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-10-04T14:35:14.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": "h5. Description:\r\nWhen removeAllChildren() method of Ti.UI.ScrollView is called, contents of the ScrollView are not cleared in Windows.\r\n\r\nh5. Steps to Replicate:\r\n1. Run the attached sample Alloy project.\r\n2. Click anywhere on the screen\r\n3. Red block will keep adding to the view on every click.\r\n\r\nOn ScrollView click event, removeAllChildren method is called on ScrollView and a view with backgroundColor red is added to the ScrollView in index.js. Instead of removing the one that is already in the ScrollView, new View is being added on every click.\r\n\r\nh5. Expected Result:\r\nremoveAllChildren() method should remove all child views of ScrollView container on click event.\r\n\r\n\r\n", "attachment": [ { "id": "63096", "filename": "index.js", "author": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "created": "2017-08-16T23:28:58.000+0000", "size": 228, "mimeType": "text/javascript" }, { "id": "63094", "filename": "index.tss", "author": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "created": "2017-08-16T23:29:09.000+0000", "size": 155, "mimeType": "application/octet-stream" }, { "id": "63095", "filename": "index.xml", "author": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "created": "2017-08-16T23:29:03.000+0000", "size": 151, "mimeType": "text/xml" } ], "flagged": false, "summary": "Windows : removeAllChildren() method of ScrollView does not work", "creator": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "subtasks": [], "reporter": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "closedSprints": [ { "id": 939, "state": "closed", "name": "2017 Sprint 17 SDK", "startDate": "2017-08-13T23:08:29.095Z", "endDate": "2017-08-27T23:08:00.000Z", "completeDate": "2017-08-27T21:10:54.125Z", "originBoardId": 114 }, { "id": 944, "state": "closed", "name": "2017 Sprint 18 SDK", "startDate": "2017-08-27T21:13:39.311Z", "endDate": "2017-09-10T21:13:00.000Z", "completeDate": "2017-09-10T21:24:16.435Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "427006", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1083", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-08-22T07:25:23.000+0000", "updated": "2017-08-22T07:25:23.000+0000" }, { "id": "427665", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "backports for 6.2.0: https://github.com/appcelerator/titanium_mobile_windows/pull/1097", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-09-07T01:32:53.000+0000", "updated": "2017-09-07T01:32:53.000+0000" }, { "id": "427892", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified in 6.2.0.GA and 7.0.0.v20170912234515", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-09-14T16:38:13.000+0000", "updated": "2017-09-14T16:38:13.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }