Skip Menu |

This queue is for tickets about the RT-Client-REST CPAN distribution.

Report information
The Basics
Id: 26528
Status: resolved
Priority: 0/
Queue: RT-Client-REST

People
Owner: DMITRI [...] cpan.org
Requestors: DAMS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.27
Fixed in: 0.28



Subject: typo in transaction type checking
in RT/Client/REST.pm, you have made a typo : Around line 190, Instead of return sort map { $self->get_transaction_ids( parent_id => $parent_id, transaction_type => $_, ) } map { # Check all the types before recursing, cheaper to catch an # error this way. $self->_valid_transaction_type($_) } @$type; you should have used probably return sort map { $self->get_transaction_ids( parent_id => $parent_id, transaction_type => $_, ) } map { # Check all the types before recursing, cheaper to catch an # error this way. $self->_valid_transaction_type($_) } @$tr_type; (check $@type vs $@tr_type) That makes accessing transactions failing.
Fixed in 0.28. - Dmitri.