-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Property method invoked with surprising object path #70
Comments
Sorry, not sure I follow:
Exactly how is that method invoked? Calling GetManagedObjects should just list properties, not invoke (other) methods. |
The property is implemented by means of a method:
and
and
Currently the MethodError above is emitted when The sequence below is:
|
Thanks, now I get it. I just pushed a commit to master, could you see if it fixes the issue? |
diwic/dbus-rs#70 Fixed by dbus-rs commit: 0d63f1083765f2da9bb93de017b1f53f88ab281d Signed-off-by: mulhern <amulhern@redhat.com>
Confirmed, thanks! |
diwic/dbus-rs#70 Fixed by dbus-rs commit: 0d63f1083765f2da9bb93de017b1f53f88ab281d Signed-off-by: mulhern <amulhern@redhat.com>
diwic/dbus-rs#70 Fixed by dbus-rs commit: 0d63f1083765f2da9bb93de017b1f53f88ab281d Signed-off-by: mulhern <amulhern@redhat.com>
diwic/dbus-rs#70 Fixed by dbus-rs commit: 0d63f1083765f2da9bb93de017b1f53f88ab281d Signed-off-by: mulhern <amulhern@redhat.com>
diwic/dbus-rs#70 Fixed by dbus-rs commit: 0d63f1083765f2da9bb93de017b1f53f88ab281d Signed-off-by: mulhern <amulhern@redhat.com>
This occurs when I invoke
GetManagedObjects
.I have a property defined for an interface called Pool.
As the properties are being listed a method belonging to the Pool interface is invoked. It extracts the object path, but that object path is the object path that was used to call
GetManagedObjects
originally, and it is not an object path for an object that implements the Pool interface. This causes an error in my method as this situation is unexpected.Obtaining the value of the property on an object path that does implement the Pool interface works fine.
Running dbus-0.4.1.
The text was updated successfully, but these errors were encountered: