read-only properties don't update on standard PropertiesChanged
Bug #1339589 reported by
Antti Kaijanmäki
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()
{
};
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
Related branches
lp:~kaijanmaki/dbus-cpp/read-only-properties-changed-fix
- Thomas Voß (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 97 lines (+42/-2)3 files modifiedinclude/core/dbus/impl/property.h (+5/-1)
tests/service_test.cpp (+25/-1)
tests/test_service.h (+12/-0)
To post a comment you must log in.
This bug was fixed in the package dbus-cpp - 3.0.0+14. 10.20140709. 2-0ubuntu1
--------------- 14.10.20140709. 2-0ubuntu1) utopic; urgency=low
dbus-cpp (3.0.0+
[ 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