[Koha-bugs] [Bug 23254] Batch item modification and deletion handle leading and trailing spaces inconsistently

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 21 15:50:59 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23254

--- Comment #5 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Andrew Fuerste-Henry from comment #4)
> I just signed off bug 23800. While testing that, I also tested this.
> 
> I created items with the barcodes "123 " and " 123"
> Without the patch for bug 23800, putting "123" in my list of barcode for
> batch item mod  found the item with barcode "123 " but gave an erroneous
> barcode not found error. It did not find " 123" at all.
> With the patch and the same two barcodes in the system, I entered "123" into
> item batch mod and it didn't find anything. Then I entered " 123" and "123 "
> into item batch mod and they didn't find anything either.
> So the patch from 23800 has changed this behavior, but doesn't seem to have
> fixed it.

Yes, and it cannot work, it is the expected behavior :)
But, since bug 22996 you can define the separator, so try to remove \s from the
separator list and try again, it should work.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list