[Koha-bugs] [Bug 7468] Add label to batch by barcode range

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 18 07:24:06 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7468

Hayley Mapley <hayleymapley at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA
                 CC|                            |hayleymapley at catalyst.net.n
                   |                            |z

--- Comment #25 from Hayley Mapley <hayleymapley at catalyst.net.nz> ---
I completed steps 1-5 in the test plan. After clicking on Print range though,
clicking on the template and layout dropdowns shows no options. Am I missing
something? Then, with neither of those options chosen, clicking Export and then
Download as PDF results in an error.

Also, the close link in the corner doesn't look like the rest of the close
icons, instead is a red square next to the word 'Close'.

Error trace:

Can't bless non-reference value at
/home/vagrant/kohaclone/C4/Creators/Layout.pm line 110

1.    in C4::Creators::Layout::retrieve at
/home/vagrant/kohaclone/C4/Creators/Layout.pm line 110

      107:         return -1;
      108:     }
      109:     my $self = $sth->fetchrow_hashref;
      110:     bless ($self, $type);
      111:     return $self;
      112: }
      113: 

2.    in C4::Labels::Layout::retrieve at
/home/vagrant/kohaclone/C4/Labels/Layout.pm line 29

       26: sub retrieve {
       27:     my $self = shift;
       28:     push @_, "creator", $me;
       29:     return $self->SUPER::retrieve(@_);
       30: }
       31: 
       32: sub delete {

3.    in (eval) at /home/vagrant/kohaclone/labels/label-create-pdf.pl line 63

       60: our $pdf = C4::Creators::PDF->new(InitVars => 0);
       61: my $batch = C4::Labels::Batch->retrieve(batch_id => $batch_id);
       62: our $template = C4::Labels::Template->retrieve(template_id =>
$template_id, profile_id => 1);
       63: my $layout = C4::Labels::Layout->retrieve(layout_id => $layout_id);
       64: 
       65: sub _calc_next_label_pos {
       66:     my ($row_count, $col_count, $llx, $lly) = @_;

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list