Re: [Koha-devel] Finding invalid XML characters in Koha data via SQL

2024-04-12 Thread Magnus Enger via Koha-devel
Den 12.04.2024 08:24, skrev David Cook: Not yet. At some point I need to get better at sharing Koha plugins more widely. Just dump it to Github or similar, and set the version to 0.0.1. ;-) Release early, release often. Best regards, Magnus ___ Koh

Re: [Koha-devel] Update to Koha 23.11.04 fails

2024-04-12 Thread Michael Kuhn via Koha-devel
Hi David You wrote: > I've noticed that a bunch of the database changes for the > additional_contents table can half-complete and not fatally fail in > very ungraceful ways. > > In this case, I'd say an earlier update probably failed to rename > "idnew" to "id". > > Hopefully this was a test upg

[Koha-devel] Error 500 when searching in Koha 23.11.0

2024-04-12 Thread Michael Kuhn via Koha-devel
Hi I have updated our database from koha 21.11.10 to the current Koha 23.11.04. When searching the catalogue I get a result list, but when clicking a single hit I get an error 500. In file "plack-error.log" I have found the following line which could be the reason: DBIx::Class::Storage::DBI:

Re: [Koha-devel] Finding invalid XML characters in Koha data via SQL

2024-04-12 Thread Philippe Blouin via Koha-devel
Something else to add to search_for_data_inconsistencies.pl ? I like perl-based solution, and I appreciate centralized ones, even though I suppose what you're testing is not an "inconsistency". Logo inLibro Philippe Blouin Directeur de la technologie T 833-INLIBRO

Re: [Koha-devel] Koha CSRF protection

2024-04-12 Thread Julian Maurice via Koha-devel
Hi, I'm a bit late on the topic but I had a look at the different bugs and patches during hackfest (mainly because it didn't work for me, I will open a new bug report for that). There is something in it that seems to cause bugs and I don't see a reason for it: it's the "cud-" thing. As I u

Re: [Koha-devel] [Koha] Error 500 when searching in Koha 23.11.0

2024-04-12 Thread Michael Kuhn via Koha-devel
Hi Ketan Kulkarni You wrote: > There's a command to upgrade koha db schema. You need to run that > command. > > Following is an example. Here, 'library' is the name of the instance. > You will need to replace that with the name of your instance. > ===// > > Upgrade Da

Re: [Koha-devel] Koha CSRF protection

2024-04-12 Thread Jonathan Druart via Koha-devel
We want to know which requests to protect (ie. Requiring a csrf token): those having a op starting with cud- Otherwise you could GET something that should be POSTed. I've tried to describe this change as best as I could on the wiki, please adjust if it's not clear enough. https://wiki.koha-communit

[Koha-devel] SelfCheckoutByLogin

2024-04-12 Thread long_sam.tw via Koha-devel
Hi, all Koha SelfCheckoutByLogin  https://koha-community.org/manual/latest/en/html/circulationpreferences.html#selfcheckoutbylogin I found that only local account authentication and cardnumber are supported,  but other authentication methods are not supported, such as google openid Oauth2, are n

Re: [Koha-devel] [Koha] Error 500 when searching in Koha 23.11.0

2024-04-12 Thread Michael Kuhn via Koha-devel
Hi Just for the record: I updated from Koha 21.11.10 to 23.11.04. When searching the catalogue I got a result list, but when clicking a single hit I got an error 500. In file "plack-error.log" I found this: DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st execute faile