Skip Menu |

This queue is for tickets about the Net-DBus CPAN distribution.

Report information
The Basics
Id: 81345
Status: resolved
Priority: 0/
Queue: Net-DBus

People
Owner: Nobody in particular
Requestors: yorhel [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.0.0
Fixed in: (no value)



Subject: RemoteObject sends the wrong interface for properties
Using a Net::DBus::RemoteObject to access a property using its AUTOLOAD functionality is broken: my $obj = Net::DBus->find->get_service("some.service")->get_object("/some/object"); $obj->SomeProperty(); Will send a org.freedesktop.DBus.Properties.Get method call with the string "1" as first argument, while that should be the interface name. The problem lies with the order of the arguments passed to $self->_call_method() in Net/DBus/RemoteObject.pm line 395 and 398. The bug is fixed when the $interface and '1' arguments are swapped.
Fixed upstream in GIT with commit 39d6e3cfe2caf037a65d45651e0b0f33233bdd28 Author: Daniel P. Berrange <dan@berrange.com> Date: Mon Jul 18 21:27:23 2011 +0100 Fix invocation of properties
This is now resolved in the 1.1.0 release