{ "id": "168432", "key": "TIMOB-24836", "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-08-17T14:47:00.000+0000", "created": "2017-06-15T18:05:09.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "issuelinks": [ { "id": "55668", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "158381", "key": "TIMOB-22431", "fields": { "summary": "Ti.UI.TableView Test Suite: Titanium.UI.TableView Acceptance TIMOB-7914", "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" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "10100", "description": "This Issue Type is used to create Zephyr Test within Jira.", "name": "Test", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-08-21T10:28: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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nCalling updateRow with a row that already exists in the tableview freezes the app\r\n\r\n{code}\r\nvar _window = Ti.UI.createWindow();\r\nvar data = [{\r\n title: 'Row 1'\r\n}, {\r\n title: 'Row 2'\r\n}];\r\nvar table = Ti.UI.createTableView({\r\n data: data\r\n});\r\n_window.add(table);\r\ntable.addEventListener('click', TableClick);\r\nfunction TableClick(evt) {\r\n alert('table row clicked');\r\n}\r\nvar btn2 = Ti.UI.createButton({\r\n title: 'update row 1',\r\n width: 120,\r\n height: 50,\r\n left: 10,\r\n bottom: 0\r\n});\r\nbtn2.addEventListener('click', DoBtn2Click);\r\n_window.add(btn2);\r\nfunction DoBtn2Click() {\r\n table.updateRow(0, table.data[0].rows[0]);\r\n}\r\n_window.open();\r\n\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n# Add the above to an existing app.js\r\n# Build for a windows target\r\n\r\nh5.Actual\r\n\r\nApp freezes\r\n\r\nh5.Expected\r\n\r\nUnsure, adding a UI element twice usually causes an error on Windows, could we pull properties from the existing one and create a new one based from that?", "attachment": [], "flagged": false, "summary": "Windows: Unable to call updateRow with an already existing row", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Ti SDK: 6.1.1.v20170614134051\r\nAppc Core: 6.2.2\r\nAppc NPM: 4.2.9\r\nLumia 550 10.0\r\n10.0 ws-local\r\n", "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 } ], "comment": { "comments": [ { "id": "423747", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1035", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-10T00:58:09.000+0000", "updated": "2017-07-10T00:58:09.000+0000" }, { "id": "425989", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1065", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-08-07T02:19:53.000+0000", "updated": "2017-08-07T02:19:53.000+0000" }, { "id": "426892", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Merged to 6_2_X https://github.com/appcelerator/titanium_mobile_windows/pull/1079", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-08-18T03:49:50.000+0000", "updated": "2017-08-18T03:49:50.000+0000" }, { "id": "426958", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified in 6.2.0.v20170821001430, closing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-08-21T10:28:42.000+0000", "updated": "2017-08-21T10:28:42.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }