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

QValueSpace::TransientLayer flag is not respected when creating QValueSpacePublisher instance

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 1.1.1
    • 1.0.0, 1.0.1, 1.0.2
    • Publish & Subscribe
    • None
    • Maemo5, N900
    • 496d0c5250991c234f85c9148a2546aee43fea53

      In the below code when run on Maemo5 it was expected that the QValueSpacePublisher not be connected since Maemo5 uses a Permanent store. From an inspection of QValueSpacePublisher constructor this bug is thought to be on all platforms:

      #include <QValueSpacePublisher>
      QValueSpacePublisher *publisher = new QValueSpacePublisher(QValueSpace::TransientLayer | QValueSpace::WritableLayer  , "/example");
      if (publisher->isConnected())
          qWarning("Connection present when not expected");
      

      The work around for this bug is to specify only QValueSpace::WritableLayer in QValueSpacePublisher constructor.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            amccarth Aaron McCarthy (closed Nokia identity) (Inactive)
            isdale Keith Isdale (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes