accounts-qml-module plugin test failure when build against Qt 5.2

Bug #1271039 reported by Timo Jyrinki on 2014-01-21
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
accounts-qml-module
Critical
Alberto Mardegan
accounts-qml-module (Ubuntu)
Undecided
Unassigned

Bug Description

One PluginTest test is failing consistently when building accounts-qml-module against Qt 5.2.

To upgrade to the Qt 5.2 easily (now possible on desktop where all dependencies are built):
apt-add-repository ppa:canonical-qt5-edgers/qt5-beta2
apt-get update
apt-get dist-upgrade

See/describe dependencies of packages at http://pad.ubuntu.com/qt52-dependencies

See build logs at https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-beta2/+sourcepub/3830277/+listing-archive-extra

---cut---
task-0: ********* Start testing of PluginTest *********
task-0: Config: Using QtTest library 5.2.0, Qt 5.2.0
task-0: PASS : PluginTest::initTestCase()
task-0: QDEBUG : PluginTest::testLoadPlugin() virtual void OnlineAccounts::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts
task-0: QDEBUG : PluginTest::testLoadPlugin() account-service-model.cpp 286 update
task-0: QFATAL : PluginTest::testLoadPlugin() ASSERT: "last >= first" in file itemmodels/qabstractitemmodel.cpp, line 2631
task-0: FAIL! : PluginTest::testLoadPlugin() Received a fatal error.
task-0: Loc: [Unknown file(0)]
task-0: Totals: 1 passed, 1 failed, 0 skipped
task-0: ********* Finished testing of PluginTest *********
---cut---

All Qt 5.2 related bugs can be seen at https://bugs.launchpad.net/bugs/+bugs?field.tag=qt5.2 - this bug may be related to an upstream problem as well, or a real change that needs to be taken into account. Any fixes should be made so that the code works with both Qt 5.0 and 5.2 (eg by using #ifdef:s and so on).

Related branches

description: updated
description: updated
description: updated
Bill Filler (bfiller) on 2014-01-21
Changed in accounts-qml-module:
assignee: nobody → Alberto Mardegan (mardy)
description: updated
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:accounts-qml-module at revision 42, scheduled for release in accounts-qml-module, milestone Unknown

Changed in accounts-qml-module:
status: New → Fix Committed
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:accounts-qml-module at revision 43, scheduled for release in accounts-qml-module, milestone Unknown

Changed in accounts-qml-module (Ubuntu):
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package accounts-qml-module - 0.4+14.04.20140305-0ubuntu1

---------------
accounts-qml-module (0.4+14.04.20140305-0ubuntu1) trusty; urgency=low

  [ CI bot ]
  * No change rebuild against Qt 5.2.1.

  [ Albert Astals Cid ]
  * Merge from upstream Do not pass negative ranges to model calls. (LP:
    #1231697, #1271039, #1255343)

  [ Alberto Mardegan ]
  * Merge from upstream Do not pass negative ranges to model calls. (LP:
    #1231697, #1271039, #1255343)
  * Merge from upstream Fix a regression introduced with latest fix,
    where empty models wrongly emit the rowsInserted signal. (LP:
    #1231697, #1271039, #1255343)

  [ Ubuntu daily release ]
  * New rebuild forced
 -- Ubuntu daily release <email address hidden> Wed, 05 Mar 2014 09:15:03 +0000

Changed in accounts-qml-module (Ubuntu):
status: Fix Committed → Fix Released
Changed in accounts-qml-module:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers