Skip Menu |

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

Report information
The Basics
Id: 30360
Status: rejected
Priority: 0/
Queue: Net-DBus

People
Owner: Nobody in particular
Requestors: mzahor [...] dtech.sk
Cc:
AdminCc:

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



Subject: Introspector.pm - $type eq "{" BUG
Date: Tue, 30 Oct 2007 13:00:59 +0100
To: bug-Net-DBus [...] rt.cpan.org
From: "Ing. Michal Zahor" <mzahor [...] dtech.sk>
Hi, I've discovered bug in the introspector.pm Error raised after connect_to_signal(...) ERROR: Uninitialised value string at ne /..../Introspector.pm at 695 Debian LENNY distribution from line695 } elsif ($type eq "{" ) { ..... } I've replaced with and it's working } elsif ($type eq "{" ) { my $new = ["dict"]; push @{$current}, $new; push @cont,$current; $current = $new; }
I am unable to find the problem with the current code in Introspector.pm. Could you supply a short snippet of example code demonstrating the problem - or at least tell me what service & object you're using demonstrates the problem ?
After another report of this same problem I have determined that the Net::Dbus code is not at fault. The remote service is providing broken Introspection XML data. Dictionary entries are *mandated* to occur within an array by the DBus spec. It is not valid to have a dictionary entry on its own. Hence nothing needs changing in Net::DBus.