Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3054] tableview appendRow crashes

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2011-07-28T10:04:02.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labels1.7.0, 1.7.1, appendrow, crash, crashes, ios, mobile, mobilesdk, regression, sdk, tableview, tableviewrow, tableviewrows
ReporterUnknown
AssigneeTony Guntharp
Created2011-06-30T11:10:56.000+0000
Updated2016-03-08T07:48:05.000+0000

Description

Starting with 1.7 final (and maybe RC, didn't test it), appendRow is crashing. Just try that:
var win = Titanium.UI.currentWindow;
 
var table = Titanium.UI.createTableView();
 
for(var cars = 0; cars < 200; cars +=1 )
{
    table.appendRow(Titanium.UI.createTableViewRow({
        title:'Row ' + cars,
    }));
 
}
 
win.add(table);
There is a thread on the Q&A about it (and maybe more): http://developer.appcelerator.com/question/121022/tableview-problem-with-17-final-but-not-in-beta This seems like a problematic regression.

Comments

  1. Matthew Apperson 2011-07-12

    When testing this I did not replicate the crash you are reporting... please place JUST the following code to your app.js and test it. If it crashes, please paste the content of the log into pastebin or something and share the link back here.
       var win = Titanium.UI.createWindow();
        
       var table = Titanium.UI.createTableView();
        
       for(var cars = 0; cars < 200; cars +=1 )
       {
           table.appendRow(Titanium.UI.createTableViewRow({
               title:'Row ' + cars,
           }));
        
       }
        
       win.add(table);
       
       win.open();
       
  2. Paul Dowsett 2011-07-28

    Closing until reporter claims this ticket
  3. Paul Dowsett 2011-08-30

    Closing issue. If any new information comes to light that justifies it, then please reopen.

JSON Source