[Koha] Fwd: Problems with barcodes in Koha 24.05.01

Michael Kuhn mik at adminkuhn.ch
Fri Sep 6 04:32:28 NZST 2024


Hi

For case 1 I have now opened a new bug:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37847 
(Barcode-URL showing %2F)

For case 2 I found a solution: There is a system preference named 
"BarcodeSeparators" which allows to give the separators at which Koha 
will split barcodes in batch item modification and inventory. The 
default is \s\r\n - I have changed this to \r\n - now barcodes 
containing spaces are accepted in the batch item modification and inventory.

Best wishes: Michael
-- 
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E mik at adminkuhn.ch · W www.adminkuhn.ch



-------- Weitergeleitete Nachricht --------
Betreff: Re: [Koha] Problems with barcodes in Koha 24.05.01
Datum: Thu, 5 Sep 2024 18:03:27 +0200
Von: Michael Kuhn <mik at adminkuhn.ch>
Antwort an: Michael Kuhn <mik at adminkuhn.ch>
Organisation: Admin Kuhn GmbH
An: Alvaro Cornejo <cornejo.alvaro at gmail.com>
Kopie (CC): Koha <koha at lists.katipo.co.nz>

Hi Alvaro

You wrote:

 > I guess both cases are "data sanitation" issues that need to be
 > handled by devel.
 >
 > I recommend you to open a bug report for each.

We hoped for a quick solution but however we will open bug reports for 
these cases.

 > Have you tried escaping problematic characters?
 >
 > Something like Soz\ 2432-b02732 or 03\/07851-a03073

Yes, I tried escaping the space character but to no avail.

In the case of %2F in the URL for the barcode escaping is of course not 
possible since the reason is inside the the program code that shows the URL.

Best wishes: Michael
-- 
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E mik at adminkuhn.ch · W www.adminkuhn.ch



>     Le jeu. 5 sept. 2024 à 07:06, Michael Kuhn <mik at adminkuhn.ch
>     <mailto:mik at adminkuhn.ch>> a écrit :
> 
>         Hi
> 
>         1. We have barcodes containing the slash character "/", like:
>         03/07851-a03073
> 
>         In Koha menu "Circulation > Holds queue" barcodes are now links,
>         and the
>         above barcode is shown as 03%2F07851-a03073 - is it possible to
>         get rid
>         of this unwanted HTML entity %2F and instead show the correct
>         character
>         "/" ?
> 
> 
>         2. We also have barcodes containing spaces, like: Soz 2432-b02732
> 
>         In Koha menus "Circulation > Cataloging > Batch item
>         modification" resp.
>         "Batch item deletion" it is possible to insert barcodes into a
>         list. But
>         when inserting the above barcode Soz 2432-b02732 and clicking
>         "Continue"
>         the screen says:
> 
>            Warning, the following barcodes were not found:
> 
>            Barcodes not found
>            Soz
>            2432-b02732
> 
>         So it seems like in this specific menu (but not elsewhere) Koha is
>         interpreting the space as a delimiter for a new barcode and
>         thinks these
>         are two barcodes which is not true. How can we teach Koha to
>         accept "Soz
>         2432-b02732" as just one barcode like Koha does everywhere else?
>         By the
>         way this problem already existed in Koha 19.11.
> 
> 
>         Best wishes: Michael
>         -- 
>         Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg.
>         Fachausweis
>         Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
>         T 0041 (0)61 261 55 61 · E mik at adminkuhn.ch
>         <mailto:mik at adminkuhn.ch> · W www.adminkuhn.ch
>         <http://www.adminkuhn.ch>
>         _______________________________________________
> 
>         Koha mailing list http://koha-community.org
>         <http://koha-community.org>
>         Koha at lists.katipo.co.nz <mailto:Koha at lists.katipo.co.nz>
>         Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>         <https://lists.katipo.co.nz/mailman/listinfo/koha>
> 


_______________________________________________

Koha mailing list  http://koha-community.org
Koha at lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha



More information about the Koha mailing list