Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24904] Windows: Unable to add a ListView with no section to a window on 8.1 emulator

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-10-25T05:51:51.000+0000
Affected Version/sRelease 6.2.0
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterEwan Harris
AssigneeKota Iguchi
Created2017-06-28T14:08:28.000+0000
Updated2018-08-02T22:20:07.000+0000

Description

Description

Adding a ListView to a Window with no sections errors out on Windows Phone 8.1 emulator, as of TIMOB-24760 being merged
var win = Ti.UI.createWindow();
var listview = Ti.UI.createListView({
        height: 600
});
var fruitSection = Ti.UI.createListSection({ headerTitle: 'Fruits ' });
//listview.sections = [fruitSection];
win.add(listview)
win.open();

Steps to reproduce

Add the above code to an existing app.js and build for Windows 8.1

Actual

App crashes

Expected

App should not crash

Comments

  1. Kota Iguchi 2017-10-25

    Closing this, as we are going to drop 8.1 support in next major version.
  2. Eric Merriman 2018-08-02

    Closing old "Won't fix" tickets. If you disagree, please reopen.

JSON Source