{ "id": "61323", "key": "TIMOB-691", "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": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-07-30T10:25:42.000+0000", "created": "2011-04-15T02:34:35.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "19173", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "61329", "key": "TIMOB-697", "fields": { "summary": "Android: Updating rows with headers throws out-of-bounds error", "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": "19508", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T21:27:40.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}
When a tableview (in android 2.1) has headers in its rows,\r\nupdateRow fails with an array out of bounds error (the same table\r\nupdates fine when the headers are removed).
\r\nAs in the following code:
\r\n\r\nvar LogFind = Ti.UI.createTableView({\r\ndata: [\r\n{ header: 'Details', title: 'Tag', hasChild: true, color: 'black', url: 'LogFind/LogFind.js' }, \r\n{ title: 'Comment', hasChild:true, color: 'black', url: 'LogFind/LogFind.js' }, \r\n{ header: 'Images', title: 'Picture 1', hasChild:true, color: 'black', url: 'LogFind/LogFind.js' }, \r\n{ title: 'Picture 2', hasChild: true, color: 'black', url: 'LogFind/LogFind.js' }, \r\n{ title: 'Picture 3', hasChild: true, color: 'black', url: 'LogFind/LogFind.js' }, \r\n{ name:'GPS', header: 'Commands', title: 'GPS', color: 'black', url: 'LogFind/LogFind.js' },\r\n{ title: 'Submit', hasChild: true, color: 'black', url: 'LogFind/LogFind.js' }\r\n]\r\n})\r\nLogFind.addEventListener ('click', function(e) {\r\n alert((e.index))\r\n})\r\nvar win = Titanium.UI.createWindow ({\r\n backgroundColor: 'white'\r\n});\r\nwin.add(LogFind);\r\nwin.open();\r\nLogFind.updateRow(5, { title: 'Getting GPS...' });
\r\n