[Koha-bugs] [Bug 29946] Sort profiles alphabetically when staging MARC records for import

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 25 02:06:00 CET 2022


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

--- Comment #7 from Lucas Gass <lucas at bywatersolutions.com> ---
(In reply to Barbara Johnson from comment #6)
> I was able to create profiles using different accents and diacritics.  And
> the sorting worked correctly.  
> 
> But I did run into problems with the following scenario.  I tried to create
> several similarly named profiles such as the two sets listed below.  I could
> only save one profile from each set.  It seems that it isn't able to
> differentiate between a letter with and without accent marks. 
> 
> etest
> ètest
> étest
> 
> abooks
> äbooks
> ábooks

I see what you mean. This happens with or without this patch. It also seems
unrelated to diacritics as I can add a profile with a name like 'abook' but
then I will get the error if I try 'Abook' or 'aBook'. 

In the error logs I see:

[WARN] DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st
execute failed: Duplicate entry 'abook' for key 'u_import_batch_profiles__name'
at /kohadevbox/koha/Koha/Object.pm line 170


Maybe we should file a separate bug for that issue?

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


More information about the Koha-bugs mailing list