Bug 15689 - Label editor: Fix issues with wrong batch_id parameter
Summary: Label editor: Fix issues with wrong batch_id parameter
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Label/patron card printing (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor (vote)
Assignee: Chris Nighswonger
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-28 09:08 UTC by Marc Véron
Modified: 2020-11-30 21:45 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Véron 2016-01-28 09:08:25 UTC
There are issues with the label editor, related to the batch_id:

1/ You can select all the items and click on "remove selected" without any warning
2/ You can delete the last item clicking on the "Delete" button ("actions" column)

In these 2 cases, the batch_id parameter is passed but is wrong. If you add a new batch on the resulting screen, the batch_id of the deleted batch will be displayed, but a new one will be used.

Copied from the comment by Jonathan Druart on Bug 15663
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15663#c7
Comment 1 Owen Leonard 2019-11-21 16:52:07 UTC
My understanding of the bug report is this:

If you remove (by "remove selected" or the delete button) all items in an existing label batch and then immediately add new items to the batch, the batch will be saved with a new batch_id.

In my test this was not the case, so I'm closing this report. If someone finds otherwise please re-open with more details.