{ "id": "118776", "key": "TIMOB-14917", "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": [], "resolution": null, "resolutiondate": null, "created": "2013-08-19T22:41:56.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "ios5", "reprod" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:04:18.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Steps to reproduce:\r\n1. run this code\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n layout: 'vertical'\r\n});\r\n \r\nvar picker = Ti.UI.createPicker({\r\n useSpinner: true\r\n});\r\n \r\nvar fruit = [ 'Bananas', 'Strawberries', 'Mangos', 'Grapes' ];\r\nvar column1 = Ti.UI.createPickerColumn();\r\n \r\nfor(var i=0, ilen=fruit.length; i= 0; x-- ){\r\n var _row = _col.rows[x];\r\n _col.removeRow(_row);\r\n }\r\n});\r\nwin.add(btn);\r\n{code}\r\n2. Click on \"Remove Columns\" button.\r\nExpected Behavior: all rows should be removed from picker (i.e should see empty picker)\r\nActual Behavior: all rows are still visible. ", "attachment": [], "flagged": false, "summary": "iOS: PIcker doesn't update when removeRows() is called.", "creator": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "282794", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested Environment:\n\nAppcelerator Studio: 3.2.0.201312042306\nSDK:3.2.0.v20131205165947\nalloy: 1.3.0-beta\nacs: 1.0.9\nnpm: 1.3.2\ntitanium: 3.2.0-beta\t\ntitanium-code-processor: 1.1.0-beta\nXcode:5.0.2\nOS: Mac OSX 10.9\nDevice: iphone5(V7.0.4)\n\nIssue still reproducible. On clicking \"Remove Columns\" Picker does not get updated. \nThen on Scrolling the picker 2 to 3 times the rows gets deleted and picker gets empty. ", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-06T05:03:42.000+0000", "updated": "2013-12-06T05:03:42.000+0000" }, { "id": "318397", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces\r\nTitanium Command-Line Interface, \r\nCLI version 3.3.0, \r\nTitanium SDK version 3.3.0.GA \r\niOS SDK: 7.1 \r\niOS iPhone Simulator: 7.1", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-13T07:29:22.000+0000", "updated": "2014-08-13T07:29:22.000+0000" }, { "id": "420405", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I have been able to reproduce this issue with the following environment; \r\niPhone 7 (10.2) \r\nMacOS 10.11.6 (15G31) \r\nStudio 4.9.0.201705021158 \r\nTi SDK 6.1.0.v20170519131839 \r\nAppc NPM 4.2.9 \r\nAppc CLI 6.2.1 \r\nTi CLI 5.0.13 \r\nAlloy 1.9.11 \r\nArrow 2.0.0 \r\nXcode 8.2 (8C38) \r\nNode v4.8.2 \r\nJava 1.7.0_80", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-24T23:10:33.000+0000", "updated": "2017-05-24T23:10:33.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }