{ "id": "61505", "key": "TIMOB-873", "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": "11257", "description": "", "name": "Sprint-2011-09", "archived": true, "released": true, "releaseDate": "2011-03-07" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:54:31.000+0000", "created": "2011-04-15T02:38:13.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "release-1.6.1", "release-1.7.0", "reported-1.5.1", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:54:31.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}{html}", "attachment": [], "flagged": false, "summary": "Android KS: TableView append row with header test: no header appears", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "124233", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Triage.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:38:13.000+0000", "updated": "2011-04-15T02:38:13.000+0000" }, { "id": "124234", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

My eval of the problem (untested): TableViewProxy.appendRow\ndoesn't call processData() (which is the method that checks for and\ndeals with headers) unless there are no pre-existing sections in\nthe tableview. If there are already sections,it just finds the\nbottom section and inserts the row at the end, without evaluating\ndata dictionary containing \"header\".

\n

For someone who knows what's going on, this looks like it might\nnot be too big of a fix.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T02:38:14.000+0000", "updated": "2011-04-15T02:38:14.000+0000" }, { "id": "124235", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

This must've been fixed long ago. Not able to reproduce. And\nappendRow does now lead to calling\nprocessData, probably for a while now.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T02:38:14.000+0000", "updated": "2011-04-15T02:38:14.000+0000" }, { "id": "124236", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

Oops, ignore me. This is reproducible.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T02:38:15.000+0000", "updated": "2011-04-15T02:38:15.000+0000" }, { "id": "124237", "author": { "name": "kevinwhinnery", "key": "kevinwhinnery", "displayName": "kevinwhinnery", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

request from two pro seats is to include this fix on the 1.5.x\nbranch

{html}", "updateAuthor": { "name": "kevinwhinnery", "key": "kevinwhinnery", "displayName": "kevinwhinnery", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:38:16.000+0000", "updated": "2011-04-15T02:38:16.000+0000" }, { "id": "124238", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

\nhttps://github.com/appcelerator/titanium_mobile/commit/802c5618d9d7...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T02:38:16.000+0000", "updated": "2011-04-15T02:38:16.000+0000" }, { "id": "124239", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [e4abdaefb4fba65d3c88e45abad9078cef998831])\nMake sure appended rows that have headers will create a section\n[#873\nstate:fixed-in-qa] \nhttps://github.com/appcelerator/titanium_mobile/commit/e4abdaefb4fb...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T02:38:16.000+0000", "updated": "2011-04-15T02:38:16.000+0000" }, { "id": "124240", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [8e21f8b90896dc7b2085ea8ae6eac4568ea874a5])\nDrillbit test for appendRow with header [#873]\n\nhttps://github.com/appcelerator/titanium_mobile/commit/8e21f8b90896...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T02:38:17.000+0000", "updated": "2011-04-15T02:38:17.000+0000" }, { "id": "124241", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Tested with 03012011_master on
\nAndroid G1 1.6
\nAndroid NexusOne 2.2.2
\nAndroid Emulator 2.1
\niPhone 4 4.2.1

{html}", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:38:17.000+0000", "updated": "2011-04-15T02:38:17.000+0000" }, { "id": "124242", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [802c5618d9d73abac60ff22d4f791070ddea730c])\nMake sure appended rows that have headers will create a section\n[#873\nstate:fixed-in-qa] \nhttps://github.com/appcelerator/titanium_mobile/commit/802c5618d9d7...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T02:38:17.000+0000", "updated": "2011-04-15T02:38:17.000+0000" }, { "id": "124243", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

agent set back to fixed-in-qa. putting it back to resolved

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T02:38:18.000+0000", "updated": "2011-04-15T02:38:18.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }