[Bug 31152] New: EasyAnalyticalRecord - trim leading whitespace from barcode when linking to host record
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: koha-bugs@lists.koha-community.org Reporter: david@davidnind.com QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl 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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31152 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=30409 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31152 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|EasyAnalyticalRecord - trim |EasyAnalyticalRecords - |leading whitespace from |trim leading whitespace |barcode when linking to |from barcode when linking |host record |to host record -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org