Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-24861

Windows: Setting data before seperatorColor on TableView errors out

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 6.1.0
    • Fix Version/s: Release 6.2.0
    • Component/s: Windows
    • Labels:
      None
    • Environment:

      Ti SDK: 6.1.1.v20170619143158, 6.1.0.GA
      Appc Core: 6.2.2
      Appc NPM: 4.2.9
      Lumia 550 10.0
      10.0 ws-local

    • Story Points:
      5
    • Sprint:
      2017 Sprint 17 SDK

      Description

      Description

      Setting data before seperatorColor on a tableview causes the app to error out

      var _window = Ti.UI.createWindow();
      var rows = [{
          title: 'Row 1'
      }, {
          title: 'Row 2'
      }, {
          title: 'Row 3'
      }, {
          title: 'Row 4'
      }, {
          title: 'Row 1'
      }, {
          title: 'Row 2'
      }, {
          title: 'Row 3'
      }, {
          title: 'Row 4'
      }];
      var tableview = Ti.UI.createTableView({
          data: rows,
          separatorColor:'blue'
      });
      _window.add(tableview);
      _window.open();
      

      Steps to reproduce
      1. Add the above to an existing app.js
      2. Build for a windows target
      Actual

      Application errors out, swapping the order of data and separatorColor prevents this

      Expected

      Application should not error out

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi
                Reporter:
                eharris Ewan Harris
                Reviewer:
                Gary Mathews
                Tester:
                Ewan Harris
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-10807
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code