[TIMOB-6360] Android: tableViewRow - v8/rhino - Expecting objects, but proxies are returned for row and section when row is clicked
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2011-12-03T13:48:38.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | Release 1.8.0.1 |
Components | Android |
Labels | branch-v8 |
Reporter | Eric Merriman |
Assignee | Ping Wang |
Created | 2011-11-29T15:51:38.000+0000 |
Updated | 2014-06-19T12:44:32.000+0000 |
Description
Description:
In KitchenSink, a tableview row listener is expected to return a row and section object, but returns proxies.
Steps to reproduce:
1) Install KS with 1.8.0.1
2) Navigate to any of the following:
Base UI>Views>Table Views>Table API Basic
Base UI>Views>Table Views>Table Custom Row Header
Base UI>Views>Table Views>Table Empty DataSet (Create)
Base UI>Views>Table Views>Append Row
Base UI>Views>Table Views>Table Auto Height
Base UI>Views>Table Views>Table Search
3) Click on a row
Result:
Alert with:
row [object TableViewRowProxy] index 1 section [object TableViewSectionProxy] row data null
Expected:
Alert with:
row [Ti.UI.TableViewRow] index 1 section [object TiUITableViewSection] title Row 2
Note:
Does not occur with 1.7.5
With the latest master, it returns objects on v8: row [object TableViewRow] index 1 section [object TableViewSection] row data [object Object]. and returns proxies on rhino: row [object TableViewRowProxy] index 1 section [object TableViewSectionProxy] row data [object Object]. Both return values are different with 1.7.5.
These are just the "toString" of these objects -- they are correct (even though the string definition is slightly different).
Tested with 1.8.0.1.v20111207090257 Xoom (3.2.1) - v8 Samsung Tab 10.1 (3.1) - rhino Returning [object Object]