Hello,

I've been encountering strange bugs on two different Koha instances (both 21.11). When cataloguing new records, instead of the record being saved, users are being redirected to an empty cataloguing form (like if they clicked on "New record"). They have to use "Back" and submit the form again until it works.

I suspected something going wrong in how the form data was being sent to Koha so I added the following line in cataloguing/addbiblio.pl

warn Data::Dumper->Dump([{ $input->Vars }], ['Vars']) . "\n";

right after CGI->new
And indeed there is something going wrong. Some of the variables are replaced by random data. Here's an example:

          'tag_041_subfield_a_452653_624274' => '',
          '' => "Ly[\x{1cf}^KJ{)Z\x{fffd}(-D<\x{fffd}\x{fffd}\x{fffd}BN",
          'tag_856_code_x_883542_376496' => 'x',

Sometimes the 'op' parameter is replaced by random data, and that's why we see this strange behaviour.

Have you ever experienced something like this ? Do you know where it could come from ?

--
Julian Maurice
BibLibre
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/

Reply via email to