Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17169] Ti.UI.TableViewRow's apiName reports "Ti.View"

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsTiAPI
LabelsapiName
ReporterFokke Zandbergen
AssigneeUnknown
Created2014-06-17T07:18:13.000+0000
Updated2018-02-28T20:03:29.000+0000

Description

The following code:
var v = Ti.UI.createView();
console.debug(v.apiName);

var l = Ti.UI.createLabel();
console.debug(l.apiName);

var tv = Ti.UI.createTableView();
console.debug(tv.apiName);

var tvr = Ti.UI.createTableViewRow();
console.debug(tvr.apiName);
Debug console output:
[DEBUG] Ti.UI.View
[DEBUG] Ti.UI.Label
[DEBUG] Ti.UI.TableView
[DEBUG] Ti.View
Clearly the last one should be Ti.UI.TableViewRow.

Comments

  1. Shuo Liang 2014-06-17

    Hi, Thank you for your report. I will move this ticket to our engineer team to get this fix. Regards, Shuo
  2. Shuo Liang 2014-06-17

    I can reproduce this bug with: both SDK 3.2.3.GA and SDK 3.3.0.RC

JSON Source