Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
1.1.1, 1.2.x
-
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.