Labels upgrade task assumes screen has a tab; may not be true

XMLWordPrintable

    • 4.02

      In UpgradeTask_Build551 we have

                  final FieldScreen defaultScreen = defaultScheme.getFieldScreen(null);
                  if (defaultScreen != null)
                  {
                      final FieldScreenTab firstTab = defaultScreen.getTab(0);
      
      

      However, it is possible (though unlikely) for the default screen in the default scheme to have had all of its tabs removed. We should add an extra defensive check for that.

              Assignee:
              Peter Leschev
              Reporter:
              Justus Pendleton (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: