https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31152
Bug ID: 31152
Summary: EasyAnalyticalRecord - trim leading whitespace from
barcode when linking to host record
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Cataloging
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
When adding analytical record relationships the easy way with the
EasyAnalyticalRecords system preference enabled, any leading whitespace in the
barcode is not trimmed.
To reproduce:
1. Enable the EasyAnalyticalRecord system preference - change to 'Show'.
2. Copy a barcode from any item, for example: 39999000000498
3. For any record with item, select Edit > Link to host record.
4. Enter item barcode:
- paste the barcode into the input field
- put spaces before the barcode
- press 'Select'.
5. Note error message: "ERROR: Unable to get the item number from this
barcode.".
Notes:
- Only leading whitespace causes the error, trailing whitespace does not cause
the error.
- Recent bug 30409 did some work on consolidating barcode checking.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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/