Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1466

Deleting service invalidates all other connections

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 1.1.x, 1.2.x
    • 1.1.1, 1.2.x
    • Service Framework
    • None
    • Linux
    • 58c8ded0e84d8c52fcb1f33b65525b7d9cd51f5e

    Description

      Tried with QtM from 1.1 branch and with current master. Platform is vanilla Linux (D-Bus backend)

      See attached autotest - connecting to the same service twice, then deleting one of the connections renders the other connection dysfunctional.

      Uncompress the attached autotest in tests/auto inside the QtM source tree, and it should fail in line 156 after connection 2 is deleted:

      QWARN : tst_QServiceManager::publishService() Service property read call failed
      FAIL! : tst_QServiceManager::publishService() Compared values are not the same
      Actual (conn1->property("time").toInt()): 0
      Expected (42): 42
      Loc: [tst_qservice-deletion.cpp(156)]

      Note that this is affecting us badly in QML wrt. the QML Service {} element. A quick fix / patch would be very welcome.

      Attachments

        Activity

          People

            stanleyj Andrew Stanley-Jones (closed Nokia identity) (Inactive)
            fernenge Harald Fernengel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: