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.