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

--- Comment #12 from Chris Nighswonger <cnighswon...@foundations.edu> ---
(In reply to Lucas Gass from comment #8)
> I am able to recreate this in current master. 
> 
> 1. Make a label batch. 
> 2. Go to 'label-edit-batch.pl' and select at least one item in the table. (
> #batcht )

batch_id originates from element_id passed in to label-edit-batch.pl. ie.

https://jl-staff.campus.foundations.edu/cgi-bin/koha/labels/label-edit-batch.pl?op=edit&element_id=858

> 3. Use the 'Export' button to export at one item. 
> 4. Choose template/layout etc.

The fact that you are able to get this far would seem to indicate that a valid
batch_id is being passed in to this point.

> 5. Download as PDF
> 
> 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

It appears that by the time you get to this point, the batch_id has become
corrupted somehow.

Please post both the label-edit-batch.pl URL and the label-create-pdf-pl URL
for your failure case.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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