Bug 21544

Summary: Setting properties to wrong types should fail
Product: Telepathy Reporter: Simon McVittie <smcv>
Component: mission-controlAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

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.