Bug 38672 - Create label batch link in tools/manage-marc-import.pl doesn't do anything
Summary: Create label batch link in tools/manage-marc-import.pl doesn't do anything
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-10 20:05 UTC by Lucas Gass (lukeg)
Modified: 2024-12-12 19:11 UTC (History)
1 user (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass (lukeg) 2024-12-10 20:05:47 UTC
To recreate:

1. Stage a MARC record file with items included. 
2. Import to catalog 
3. GO to Cataloging > Manage staged MARC records
4. Notice the (Create label batch) link.
5. Click it and notice nothing happens, no label batch is created.
Comment 1 Katrin Fischer 2024-12-11 10:04:06 UTC
Could this be another CSRF related issue?
Comment 2 Lucas Gass (lukeg) 2024-12-11 14:44:37 UTC
(In reply to Katrin Fischer from comment #1)
> Could this be another CSRF related issue?

I looked briefly and I don't think so. It seems like there is a problem in create_labelbatch_from_importbatch.
Comment 3 Lucas Gass (lukeg) 2024-12-12 19:11:51 UTC
So this actually works, when my imported batch has items with correct branch, collection code, etc.

The problem is that I don't know if it works or not:

To recreate:
1. Click the link
2. Nothing seems to happen
3. Go to label batches, see a newly created label batch.