[Bug 12784] New: A patron cannot change his personal details
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12784 Bug ID: 12784 Summary: A patron cannot change his personal details Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: yohann.dufour@biblibre.com QA Contact: testopia@bugs.koha-community.org
From OPAC, a patron cannot change twice his personal details, an error occurs : DBIx::Class::Storage::DBI::_dbh_execute(): Duplicate entry '51' for key 'PRIMARY' at /home/katrin/kohaclone/Koha/Borrower/Modifications.pm line 63
To reproduce : 1/ Login with a user in the opac 2/ Request some modification (surname for example) 3/ Repeat 2/ -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12784 Yohann Dufour <yohann.dufour@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|oleonard@myacpl.org |yohann.dufour@biblibre.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12784 Yohann Dufour <yohann.dufour@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12784 Yohann Dufour <yohann.dufour@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12784 Yohann Dufour <yohann.dufour@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=12623 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12784 Yohann Dufour <yohann.dufour@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12784 --- Comment #1 from Yohann Dufour <yohann.dufour@biblibre.com> --- Created attachment 30972 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=30972&action=edit Bug 12784: Patron cannot change his personal details This patch fixes the regression introduced by the bug 12623 : a patron cannot change his personal details from OPAC. Test plans : In order to test this patch, first you have to apply the patch of bug 12781 a1/ Login with a user in OPAC a2/ Request some modification (surname for example) a3/ Repeat 2/ a4/ There are no errors b1/ Register a new user from OPAC with the syspref : PatronSelfRegistrationVerifyByEmail with the value "Require" b2/ There are no errors -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12784 Yohann Dufour <yohann.dufour@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |12781 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12784 --- Comment #2 from Marc Véron <veron@veron.ch> --- Created attachment 30992 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=30992&action=edit [Signed-off] Bug 12784: Patron cannot change his personal details This patch fixes the regression introduced by the bug 12623 : a patron cannot change his personal details from OPAC. Test plans : In order to test this patch, first you have to apply the patch of bug 12781 a1/ Login with a user in OPAC a2/ Request some modification (surname for example) a3/ Repeat 2/ a4/ There are no errors b1/ Register a new user from OPAC with the syspref : PatronSelfRegistrationVerifyByEmail with the value "Require" b2/ There are no errors Followed test plan. Patch behaves as expected. Signed-off-by: Marc Véron <veron@veron.ch> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12784 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #30972|0 |1 is obsolete| | CC| |veron@veron.ch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12784 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12784 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de Severity|major |critical -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12784 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12784 --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 31036 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31036&action=edit [PASSED QA] Bug 12784: Patron cannot change his personal details This patch fixes the regression introduced by the bug 12623 : a patron cannot change his personal details from OPAC. Test plans : In order to test this patch, first you have to apply the patch of bug 12781 a1/ Login with a user in OPAC a2/ Request some modification (surname for example) a3/ Repeat 2/ a4/ There are no errors b1/ Register a new user from OPAC with the syspref : PatronSelfRegistrationVerifyByEmail with the value "Require" b2/ There are no errors Followed test plan. Patch behaves as expected. Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Patch works as expected, passes tests and QA script. Note: The second patron modification request of one patron will overwrite his/her first request. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12784 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12784 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #30992|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12784 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master CC| |tomascohen@gmail.com --- Comment #4 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Patch pushed to master. Thanks Yohann! -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org