Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6360] Android: tableViewRow - v8/rhino - Expecting objects, but proxies are returned for row and section when row is clicked

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2011-12-03T13:48:38.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sRelease 1.8.0.1
ComponentsAndroid
Labelsbranch-v8
ReporterEric Merriman
AssigneePing Wang
Created2011-11-29T15:51:38.000+0000
Updated2014-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

Comments

  1. Ping Wang 2011-11-30

    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.
  2. Marshall Culpepper 2011-12-01

    These are just the "toString" of these objects -- they are correct (even though the string definition is slightly different).
  3. Natalie Huynh 2011-12-07

    Tested with 1.8.0.1.v20111207090257 Xoom (3.2.1) - v8 Samsung Tab 10.1 (3.1) - rhino Returning [object Object]

JSON Source