Bug 38398

Summary: Do not call barcodeencode on remove_from_bundle
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: REST APIAssignee: Martin Renvoize (ashimema) <martin.renvoize>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: madamyk, tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Andrew Fuerste-Henry 2024-11-07 19:40:30 UTC
The sub for removing an item from a bundle uses barcodedecode to remove leading and trailing whitespace from an itemnumber. This causes failures for libraries using plugins like the Barcode Prefixer that alter a value passed through barcodedecode.
We should chomp that itemnumber or something instead.