read-only properties don't update on standard PropertiesChanged

Bug #1339589 reported by Antti Kaijanmäki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dbus-cpp
New
Undecided
Unassigned
dbus-cpp (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Let's have a property with writable = false:

        struct ReadOnly
        {
            inline static std::string name()
            {
                return "ReadOnly";
            };
            typedef Service Interface;
            typedef std::uint32_t ValueType;
            static const bool readable = true;
            static const bool writable = false;
        };

When a service updates such property with the standard org.freedesktop.DBus.Properties.PropertiesChanged signal the property value on the client side just simply does not update and there is no error or anything printed.

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dbus-cpp - 3.0.0+14.10.20140709.2-0ubuntu1

---------------
dbus-cpp (3.0.0+14.10.20140709.2-0ubuntu1) utopic; urgency=low

  [ Ubuntu daily release ]
  * New rebuild forced

  [ Antti Kaijanmäki ]
  * Fix read-only property PropertiesChanged updates. (LP: #1339589)
 -- Ubuntu daily release <email address hidden> Wed, 09 Jul 2014 10:15:33 +0000

Changed in dbus-cpp (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.