Bug 21544 - Setting properties to wrong types should fail
Summary: Setting properties to wrong types should fail
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: mission-control (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-04 07:41 UTC by Simon McVittie
Modified: 2009-06-04 07:06 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Simon McVittie 2009-05-04 07:41:48 UTC
The mcd_dbusprop API has no way to raise an exception. This means that setting properties to an inappropriate type (or value) cannot fail, so the best it can do is to spam to stderr, do nothing, and "succeed".

(I have a branch to fix MC's current behaviour, which is worse - an assertion failure or a segfault while accessing the GValue.)
Comment 1 Simon McVittie 2009-06-04 07:06:00 UTC
Fixed in beta 70 or thereabouts


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.