Skip Menu |

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

Report information
The Basics
Id: 108181
Status: open
Priority: 0/
Queue: Net-AMQP

People
Owner: TEAM [...] cpan.org
Requestors: abraxxa [...] cpan.org
Cc:
AdminCc:

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



Subject: fails to unpack undefined values in headers
The type 'V' returns undef but line 268 in Net::AMQP::Common checks if the unpacked value is defined. A fix is to change the line to: die "Failed to unpack field '$field_name' type '$field_value_type' ('$table_input')" if !defined $field_value && $field_value_type ne 'V';
Thanks for the report and patch - there should be a new testing release available within the next few days, so I'll include this (and add a test). Will update this RT once that release is available. cheers, Tom On 2015-10-30 08:52:24, ABRAXXA wrote: Show quoted text
> The type 'V' returns undef but line 268 in Net::AMQP::Common checks if > the unpacked value is defined. > > A fix is to change the line to: > die "Failed to unpack field '$field_name' type '$field_value_type' > ('$table_input')" > if !defined $field_value && $field_value_type ne 'V';
Thanks for the quick reply!