{ "id": "119507", "key": "TIMOB-15049", "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-09-05T13:06:05.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "engSchedule", "mobilesdk", "supportTeam", "titanium" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [ { "id": "31907", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "117486", "key": "TIMOB-14632", "fields": { "summary": "Android: Alloy Labels not updating from Android option dialog event handler", "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 } } } }, { "id": "33402", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "120440", "key": "TIMOB-15342", "fields": { "summary": "Android: Value of Label not getting updated in tableView when Table height is set as Ti.UI.SIZE", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "48387", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "148932", "key": "TIMOB-19088", "fields": { "summary": "Android: Alloy- HeaderView element not showing in android for TableViewSection", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "33401", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "122862", "key": "TIMOB-15807", "fields": { "summary": "Android: Label value does not change in response to slider", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "32977", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "121894", "key": "TIMOB-15621", "fields": { "summary": "Android: convertPointToView gives different results with SDK 3.1.3 compared to 3.0.2", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2019-04-09T15:35:48.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h2. Description of the problem\r\nWhen trying to update a label inside a TableViewRow, if the row (or the table itself) have height set to Ti.UI.SIZE, the text of the label cannot be changed.\r\n\r\nh2. Steps to reproduce\r\nUse the following code; clicking on a window it should update the text of the row itself to 'After...', but this only works once.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'black'\r\n});\r\n\r\nvar table = Titanium.UI.createTableView({\r\n\t// COMMENT THE NEXT LINE AND EVERYTHING WORKS\r\n\theight : Ti.UI.SIZE\r\n});\r\n\r\nfunction addRow(ii) {\r\n\tvar row = Titanium.UI.createTableViewRow({\r\n\t\twidth : '100%',\r\n\t\theight : 100\r\n\t});\r\n\r\n\tvar label = Ti.UI.createLabel({\r\n\t\ttext : 'Before ' + ii\r\n\t});\r\n\r\n\trow.add(label);\r\n\r\n\trow.openDetails = function(e) {\r\n\t\talert(label.text);\r\n\t\tlabel.text = 'After ' + ii;\r\n\t};\r\n\r\n\treturn row;\r\n}\r\n\r\nvar rows = [];\r\nfor (var i = 0; i < 10; i++) {\r\n\trows.push(addRow(i));\r\n}\r\n\r\ntable.setData(rows);\r\n\r\ntable.addEventListener('click', function(e) {\r\n\te.row.openDetails();\r\n});\r\n\r\nwin.add(table);\r\n\r\nwin.open();\r\n{code}\r\n\r\nSame code works fine with SDK 3.1.0", "attachment": [ { "id": "42148", "filename": "tablechild.zip", "author": { "name": "anigam", "key": "anigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-09-05T13:06:05.000+0000", "size": 295474, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: TableView row UI is not getting updated if table or row have height set to Ti.UI.SIZE", "creator": { "name": "anigam", "key": "anigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "anigam", "key": "anigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Titanium Mobile SDK, Android 4.1.2,4.2.2", "comment": { "comments": [ { "id": "372952", "author": { "name": "abdielou", "key": "abdielou", "displayName": "Abdiel Aviles", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Created almost 3 years ago.... still a problem.", "updateAuthor": { "name": "abdielou", "key": "abdielou", "displayName": "Abdiel Aviles", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-12-15T04:08:29.000+0000", "updated": "2015-12-15T04:08:29.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }