Bug 30229

Summary: Last barcode added duplicates in label batch if page refreshes
Product: Koha Reporter: Sara Brown <sbrown>
Component: Label/patron card printingAssignee: Chris Nighswonger <cnighswonger>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low    
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Sara Brown 2022-03-04 18:31:31 UTC
Note: I believe this is more an issue of how browsers work than a bug, and the duplicate(s) can be deleted with a click - but I'm documenting this here in case anyone else searches for it.

When creating a label batch, if you refresh the page, the last barcode added will be duplicated. (Tested in Firefox on 21.05.09 and 20.05.14.)

Steps to replicate:
-Start a new label batch
-Add barcode 111
-Add barcode 222
-In a separate tab, edit the call number for barcode 111
-Refresh your label batch page to see edit - barcode 222 is now repeated at end of batch

The updated call number *will* apply to the batch/print correctly without refreshing the label batch page, but libraries may want to see the update before proceeding with the export.