[Koha-bugs] [Bug 7067] allow patron self registration via the opac

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 13 17:52:56 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7067

Jared Camins-Esakov <jcamins at cpbibliography.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #128 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
We are getting very close, I think.

There are four remaining problems:
1) Two of the unit tests fail:
[...]
not ok 7
#   Failed test at t/db_dependent/Koha_borrower_modifications.t line 55.
not ok 8
#   Failed test at t/db_dependent/Koha_borrower_modifications.t line 56.
[...]

2) The unit tests do not have labels that would indicate what they are testing.

3) The breadcrumb on /cgi-bin/koha/members/members-update.pl has an incorrect
link for the "Patrons" section (/cgi-bin/koha/members-home.pl instead of
/cgi-bin/koha/members/members-home.pl).

4) When I try to confirm a patron via e-mail, I get the following in my logs
and the patron is not created:
 INSERT INTO borrowers SET   borrowers.dateenrolled = ? ,  borrowers.userid = ?
,  borrowers.categorycode = ? ,  borrowers.dateexpiry = ? ,  borrowers.password
= ? ,  borrowers.cardnumber = ?
2012-12-13,,PT,2021-03-13,4eTMRTxoZ2tV15HgDg4fXw,23529001223641 at
/home/jcamins/kohaclone/C4/SQLHelper.pm line 182.
DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key
constraint fails (`koha`.`borrowers`, CONSTRAINT `borrowers_ibfk_2` FOREIGN KEY
(`branchcode`) REFERENCES `branches` (`branchcode`)) at
/home/jcamins/kohaclone/C4/SQLHelper.pm line 184.DBD::mysql::st execute failed:
Cannot add or update a child row: a foreign key constraint fails
(`koha`.`borrowers`, CONSTRAINT `borrowers_ibfk_2` FOREIGN KEY (`branchcode`)
REFERENCES `branches` (`branchcode`)) at
/home/jcamins/kohaclone/C4/SQLHelper.pm line 184.


Not blocking this patch, but just a comment:
I am slightly dubious about the wisdom of allowing the public to register users
on the OPAC without giving staff the ability to review those registrations.
However, if this meets the needs of the library that requested the feature, I
have no objection to including it in Koha as-is. Those libraries concerned with
security can simply disable the feature.

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


More information about the Koha-bugs mailing list