[Bug 29796] New: Cannot create new patron accounts
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29796 Bug ID: 29796 Summary: Cannot create new patron accounts Change sponsored?: --- Product: Koha Version: 21.11 Hardware: All OS: Linux Status: NEW Severity: major Priority: P5 - low Component: Patrons Assignee: koha-bugs@lists.koha-community.org Reporter: jhenderson@nsd.org QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com Hello, My Koha installation suddenly will no longer allow me to create patron accounts. The first prompt I receive is: "Something went wrong when creating the patron. Check the logs." When I open the plack-intranet-log I see this: [2022/01/04 20:42:19] [WARN] Patron creation failed! - {UNKNOWN}: DBIC result _type isn't of the _type Category at /usr/share/perl5/DBIx/Class/Storage/BlockRunner.pm line 130. at /usr/share/koha/lib/Koha/Patron.pm line 354 I am honestly stumped, I was not having this problem before and I haven't changed any settings that would have caused this. Thankfully, I can use the self-registration feature as a workaround right now until this can get fixed. I can provide additional details if needed. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29796 --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi Jeremiah, what is your exact Koha version? Were there any problems/errors shown during the update? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29796 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart+koha@gmail. | |com --- Comment #2 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Works for me on 21.11.01. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29796 --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Just to make sure, when did it happen and did you run update that caused this? Which was the previous version? As Joubu said it works in new installations, so we need to dig a bit deeper here. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29796 --- Comment #4 from Jeremiah <jhenderson@nsd.org> --- I was originally running 21.05, currently, I am running 21.11.01.000. During the update, I was not seeing any errors. Also, I was experiencing this right before I updated to the new version. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29796 --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Did you make any local changes, including *UserJs? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29796 --- Comment #6 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- You should see more info in the log files, can you post the full stacktrace? Also, do you see the problem with other patron's category? Did you try to create a new category and a patron using it? Does it work if you edit an existing patron? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29796 --- Comment #7 from Jeremiah <jhenderson@nsd.org> --- I did not make any changes to the internal files. Sure I will post more: [2022/01/05 07:16:49] [WARN] Patron creation failed! - {UNKNOWN}: DBIC result _type isn't of the _type Category at /usr/share/perl5/DBIx/Class/Storage/BlockRunner.pm line 130. at /usr/share/koha/lib/Koha/Patron.pm line 354 [2022/01/05 07:17:11] [WARN] Subroutine CORE::GLOBAL::time redefined at /usr/share/perl5/Test/MockTime.pm line 20, <DATA> line 755. [2022/01/05 07:17:11] [WARN] Prototype mismatch: sub CORE::GLOBAL::time () vs none at /usr/share/perl5/Test/MockTime.pm line 20, <DATA> line 755. [2022/01/05 07:17:11] [WARN] Subroutine CORE::GLOBAL::localtime redefined at /usr/share/perl5/Test/MockTime.pm line 21, <DATA> line 755. [2022/01/05 07:17:11] [WARN] Prototype mismatch: sub CORE::GLOBAL::localtime (;$) vs none at /usr/share/perl5/Test/MockTime.pm line 21, <DATA> line 755. [2022/01/05 07:17:11] [WARN] Subroutine CORE::GLOBAL::gmtime redefined at /usr/share/perl5/Test/MockTime.pm line 22, <DATA> line 755. [2022/01/05 07:17:11] [WARN] Prototype mismatch: sub CORE::GLOBAL::gmtime (;$) vs none at /usr/share/perl5/Test/MockTime.pm line 22, <DATA> line 755. [2022/01/05 07:31:19] [WARN] Patron creation failed! - {UNKNOWN}: DBIC result _type isn't of the _type Category at /usr/share/perl5/DBIx/Class/Storage/BlockRunner.pm line 130. at /usr/share/koha/lib/Koha/Patron.pm line 354 [2022/01/04 14:10:09] [WARN] Patron creation failed! - {UNKNOWN}: DBIC result _type isn't of the _type Category at /usr/share/perl5/DBIx/Class/Storage/BlockRunner.pm line 130. at /usr/share/koha/lib/Koha/Patron.pm line 346 [2022/01/04 14:10:09] [WARN] Use of uninitialized value $newdata{"emailpro"} in pattern match (m//) at /usr/share/koha/intranet/cgi-bin/members/memberentry.pl line 479. [2022/01/04 14:10:09] [WARN] Use of uninitialized value $newdata{"B_email"} in pattern match (m//) at /usr/share/koha/intranet/cgi-bin/members/memberentry.pl line 482. [2022/01/04 14:11:02] [WARN] Patron creation failed! - {UNKNOWN}: DBIC result _type isn't of the _type Category at /usr/share/perl5/DBIx/Class/Storage/BlockRunner.pm line 130. at /usr/share/koha/lib/Koha/Patron.pm line 346 [2022/01/04 14:11:02] [WARN] Use of uninitialized value $newdata{"emailpro"} in pattern match (m//) at /usr/share/koha/intranet/cgi-bin/members/memberentry.pl line 479. [2022/01/04 14:11:02] [WARN] Use of uninitialized value $newdata{"B_email"} in pattern match (m//) at /usr/share/koha/intranet/cgi-bin/members/memberentry.pl line 482. [2022/01/04 14:12:22] [WARN] Patron creation failed! - {UNKNOWN}: DBIC result _type isn't of the _type Category at /usr/share/perl5/DBIx/Class/Storage/BlockRunner.pm line 130. at /usr/share/koha/lib/Koha/Patron.pm line 346 [2022/01/04 14:12:22] [WARN] Use of uninitialized value $newdata{"emailpro"} in pattern match (m//) at /usr/share/koha/intranet/cgi-bin/members/memberentry.pl line 479. [2022/01/04 14:12:22] [WARN] Use of uninitialized value $newdata{"B_email"} in pattern match (m//) at /usr/share/koha/intranet/cgi-bin/members/memberentry.pl line 482. [2022/01/04 15:23:29] [WARN] Patron creation failed! - {UNKNOWN}: DBIC result _type isn't of the _type Category at /usr/share/perl5/DBIx/Class/Storage/BlockRunner.pm line 130. at /usr/share/koha/lib/Koha/Patron.pm line 346 [2022/01/04 15:23:29] [WARN] Use of uninitialized value $newdata{"emailpro"} in pattern match (m//) at /usr/share/koha/intranet/cgi-bin/members/memberentry.pl line 479. [2022/01/04 15:23:29] [WARN] Use of uninitialized value $newdata{"B_email"} in pattern match (m//) at /usr/share/koha/intranet/cgi-bin/members/memberentry.pl line 482. [2022/01/04 15:26:19] [WARN] Patron creation failed! - {UNKNOWN}: DBIC result _type isn't of the _type Category at /usr/share/perl5/DBIx/Class/Storage/BlockRunner.pm line 130. at /usr/share/koha/lib/Koha/Patron.pm line 346 [2022/01/04 15:26:22] [WARN] error at after DATA: 5.2.252 SendAsDenied; xxxxxx@xxxx.org not allowed to send as root@localhost; STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:97610000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:7C1C0000, 1.36674:0E000000, 1.61250:00000000, 1.45378:811C0000, -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29796 --- Comment #8 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi Jeremiah, could you please also make these tests as Jonathan suggests?
Also, do you see the problem with other patron's category? Did you try to create a new category and a patron using it? Does it work if you edit an existing patron?
-- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29796 Magnus Enger <magnus@libriotech.no> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |magnus@libriotech.no --- Comment #9 from Magnus Enger <magnus@libriotech.no> --- Is this still a problem? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29796 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|NEW |RESOLVED -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org