Bug 7211

Summary: GLib server-side bindings don't respect NoReply
Product: dbus Reporter: Ross Burton <ross>
Component: GLibAssignee: Rob Taylor <rob.taylor>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: high CC: walters
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Ross Burton 2006-06-13 09:47:59 UTC
If a server-side method wrapped with the GLib bindings receives a message marked
with the noreply flag, a reply is sent anyway.

This then confuses the client as there is no pending reply for the message reply
that arrives, so it sends back an error (AccessDenied specifically).
Comment 1 Havoc Pennington 2006-06-13 10:45:54 UTC
glib bindings should do this, but it should not confuse the client if it gets 
an error or reply without a pending reply, so robustness against that is 
another bug to fix.

(The bus sending accessdenied is correct I think, but the sender of the reply 
should just ignore this error)

Comment 2 Colin Walters 2009-02-25 08:33:28 UTC
I missed this earlier bug when filing bug 19441, which is now fixed.

*** This bug has been marked as a duplicate of bug 19441 ***

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.