ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #02186
[Bug 1311891] Re: Calling repeaters.indexOf() in Tabs.qml when repeaters is undefined
** No longer affects: ubuntu-ui-toolkit
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, 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” 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/+source/ubuntu-ui-toolkit/+bug/1311891/+subscriptions