[TIMOB-873] Android KS: TableView append row with header test: no header appears
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:54:31.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Sprint-2011-09 |
Components | Android |
Labels | android, defect, release-1.6.1, release-1.7.0, reported-1.5.1, rplist |
Reporter | Bill Dawson |
Assignee | Don Thorp |
Created | 2011-04-15T02:38:13.000+0000 |
Updated | 2011-04-17T01:54:31.000+0000 |
Description
Comments
- Don Thorp 2011-04-15
Triage.
- Bill Dawson 2011-04-15
My eval of the problem (untested): TableViewProxy.appendRow doesn't call processData() (which is the method that checks for and deals with headers) unless there are no pre-existing sections in the tableview. If there are already sections,it just finds the bottom section and inserts the row at the end, without evaluating data dictionary containing "header".
For someone who knows what's going on, this looks like it might not be too big of a fix.
- Bill Dawson 2011-04-15
This must've been fixed long ago. Not able to reproduce. And
appendRow
does now lead to callingprocessData
, probably for a while now. - Bill Dawson 2011-04-15
Oops, ignore me. This is reproducible.
- kevinwhinnery 2011-04-15
request from two pro seats is to include this fix on the 1.5.x branch
- Bill Dawson 2011-04-15
- Bill Dawson 2011-04-15
(from [e4abdaefb4fba65d3c88e45abad9078cef998831]) Make sure appended rows that have headers will create a section [#873 state:fixed-in-qa] https://github.com/appcelerator/titanium_mobile/commit/e4abdaefb4fba65d3c88e45abad9078cef998831"> https://github.com/appcelerator/titanium_mobile/commit/e4abdaefb4fb...
- Bill Dawson 2011-04-15
(from [8e21f8b90896dc7b2085ea8ae6eac4568ea874a5]) Drillbit test for appendRow with header [#873] https://github.com/appcelerator/titanium_mobile/commit/8e21f8b90896dc7b2085ea8ae6eac4568ea874a5"> https://github.com/appcelerator/titanium_mobile/commit/8e21f8b90896...
- Natalie Huynh 2011-04-15
Tested with 03012011_master on
Android G1 1.6
Android NexusOne 2.2.2
Android Emulator 2.1
iPhone 4 4.2.1 - Bill Dawson 2011-04-15
(from [802c5618d9d73abac60ff22d4f791070ddea730c]) Make sure appended rows that have headers will create a section [#873 state:fixed-in-qa] https://github.com/appcelerator/titanium_mobile/commit/802c5618d9d73abac60ff22d4f791070ddea730c"> https://github.com/appcelerator/titanium_mobile/commit/802c5618d9d7...
- Bill Dawson 2011-04-15
agent set back to fixed-in-qa. putting it back to resolved