← Back to team overview

touch-packages team mailing list archive

[Bug 1311891] Re: Calling repeaters.indexOf() in Tabs.qml when repeaters is undefined

 

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Importance: Undecided => Medium

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: New => Triaged

** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: (unassigned) => Zsombor Egri (zsombi)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1311891

Title:
  Calling repeaters.indexOf() in Tabs.qml when repeaters is undefined

Status in Ubuntu UI Toolkit:
  Triaged
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Triaged

Bug description:
  In Tabs.qml, indexOf() of repeaters is called when repeaters is
  (apparently) undefined. See below:

  tim@trusty:~/dev/ubuntu-ui-toolkit/staging$ source export_modules_dir.sh
  tim@trusty:~/dev/ubuntu-ui-toolkit/staging$ cd tests/resources/navigation/
  tim@trusty:~/dev/ubuntu-ui-toolkit/staging/tests/resources/navigation$ qmlscene RepeaterTabs.qml 
  unity::action::ActionManager::ActionManager(QObject*):
  	Could not determine application identifier. HUD will not work properly.
  	Provide your application identifier in $APP_ID environment variable.
  file:///home/tim/dev/ubuntu-ui-toolkit/staging/modules/Ubuntu/Components/Tabs.qml:342: TypeError: Cannot call method 'indexOf' of undefined
  file:///home/tim/dev/ubuntu-ui-toolkit/staging/modules/Ubuntu/Components/Tabs.qml:342: TypeError: Cannot call method 'indexOf' of undefined

  
  The same warning also shows when running the unit tests for the tabs.
  It may have been fixed in the dynamic tabs MR, but that one was reverted.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1311891/+subscriptions