[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
Tue Sep 11 13:57:23 CEST 2012


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

--- Comment #63 from Kyle M Hall <kyle at bywatersolutions.com> ---
What we really need is a 'system preference validator' in Koha. I recall there
are other preference dependencies, so it would not only be useful for this.

We could just add a warning to mainpage.pl for these things instead. So if
PatronSelfRegistration is enabled, but PatronSelfRegistrationUseTemporaryStatus
is empty, a warning will be written out on mainpage.pl.

At the moment, these issues are only covered by documentation.

Kyle

(In reply to comment #61)
> (In reply to comment #59)
> > > - opac-memberentry.pl: Use of uninitialized value in pattern match (m//) at
> > > /home/oleonard/kohaclone/C4/SQLHelper.pm line 418., referer:
> > > http://localhost:88
> > > 
> > > - opac-memberentry.pl: DBD::mysql::st execute failed: Cannot add or update a
> > > child row: a foreign key constraint fails (`koha`.`borrowers`, CONSTRAINT
> > > `borrowers_ibfk_1` FOREIGN KEY (`categorycode`) REFERENCES `categories`
> > > (`categorycode`)) at /home/oleonard/kohaclone/C4/SQLHelper.pm line 168.,
> > > referer: http://localhost:88/cgi-bin/koha/opac-memberentry.pl
> 
> 
> I figured it out: I cleared the PatronSelfRegistration preferences for
> testing and didn't put in a patron category for
> PatronSelfRegistrationUseTemporaryStatus. How might we deal with this
> possible omission?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list