Bug 26824 - Error name is mangled
Summary: Error name is mangled
Status: RESOLVED DUPLICATE of bug 21010
Alias: None
Product: dbus
Classification: Unclassified
Component: GLib (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Rob Taylor
QA Contact: John (J5) Palmieri
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-01 13:34 UTC by David Zeuthen (not reading bugmail)
Modified: 2010-03-02 14:22 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description David Zeuthen (not reading bugmail) 2010-03-01 13:34:41 UTC
This bug was originally filed here: https://bugzilla.redhat.com/show_bug.cgi?id=569631

dbus-glib-0.84-2.fc13.x86_64

Recent dbus-glib versions seems to mangle the error name by capitalizing the
first letter. I've seen this in many dbus-glib apps - here's an example from
udisks

 # dbus-send --print-reply --system --dest=org.freedesktop.UDisks
/org/freedesktop/UDisks org.freedesktop.UDisks.LinuxLvm2LVStart string:foo
string:bar array:string:
 Error Org.freedesktop.UDisks.Error.Failed: Cannot find Logical Volume with
Group UUID `foo' and UUID `bar'

This error doesn't seem to happen with non-dbus-glib bindings, for example,
here's polkit (using eggdbus)

 # dbus-send --print-reply --system --dest=org.freedesktop.PolicyKit1
/org/freedesktop/PolicyKit1/Authority
org.freedesktop.PolicyKit1.Authority.CancelCheckAuthorization string:foo

 Error org.freedesktop.PolicyKit1.Error.Failed: No such cancellation_id foo for
name :1.1038
Comment 1 Colin Walters 2010-03-02 14:22:07 UTC
fixed in bug 21010

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


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.