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

--- Comment #11 from Chris Nighswonger <[email protected]> ---
(In reply to Chris Nighswonger from comment #9)
> (In reply to Lucas Gass from comment #8)
> 
> > This is the error I see:
> > Can't locate object method "get_attr" via package "-2" (perhaps you forgot
> > to load "-2"?) at /kohadevbox/koha/labels/label-create-pdf.pl line 127
> 
> See the comment here:
> 
> https://github.com/Koha-Community/Koha/blob/master/C4/Creators/Batch.pm#L156
> 
> What is being passed in as the batch id?

The URL to create the PDF should similar to this:

https://jl-staff.campus.foundations.edu/cgi-bin/koha/labels/label-create-pdf.pl?batch_id=858&template_id=1&layout_id=5&start_label=1&amp;label_id=25498

If batch_id is non-existent or an invalid value, C4::Creators::Batch->retrieve
will return -2.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to