[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
Wed Sep 5 12:00:31 CEST 2012


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

--- Comment #28 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Hy Kyle,
Here some remarks after a little test:
- A new dependency (String::Random) is required and has to be added to the
C4/Installer/PerlDependencies.pm file

- The page opac-user.pl does not have a register link.

- There is no verification on the date of birth entry and could be caused a
warning

- After sending the form, I get an error in my log DBD::mysql::st execute
failed: Column 'user' cannot be null". But I don't know where does it come.

- I can't continue after the step "13) Copy and paste the link into a web
browser to verify the registration". Indeed, there are a lot of error in the
page opac/opac-registration-verify.pl (variables not defined, etc.)

+ The qa tools say me a lot of failed qa points exist:

* misc/cronjobs/delete_expired_opac_registrations.pl                       FAIL
    critic                      FAIL
        "require" statement with library name as string at line 28, column 12.
Use a bareword instead.
        Code before strictures are enabled at line 23, column 1. See page 429
of PBP.

* misc/cronjobs/delete_unverified_opac_registrations.pl                    FAIL
    critic                      FAIL
        "require" statement with library name as string at line 28, column 12.
Use a bareword instead.
        Code before strictures are enabled at line 23, column 1. See page 429
of PBP.

* opac/opac-registration-verify.pl                                         FAIL
    valid                       FAIL
        Global symbol "$borrowernumber" requires explicit package name at
opac/opac-registration-verify.pl line 58.
        Global symbol "$cookie" requires explicit package name at
opac/opac-registration-verify.pl line 35.
        Global symbol "%borrower" requires explicit package name at
opac/opac-registration-verify.pl line 52.
        Global symbol "$borrowernumber" requires explicit package name at
opac/opac-registration-verify.pl line 35.
        Global symbol "$template" requires explicit package name at
opac/opac-registration-verify.pl line 59.
        Global symbol "$cookie" requires explicit package name at
opac/opac-registration-verify.pl line 69.
        opac/opac-registration-verify.pl had compilation errors.
        Global symbol "$template" requires explicit package name at
opac/opac-registration-verify.pl line 44.
        Bareword "token" not allowed while "strict subs" in use at
opac/opac-registration-verify.pl line 47.
        Global symbol "$template" requires explicit package name at
opac/opac-registration-verify.pl line 69.
        Global symbol "$template" requires explicit package name at
opac/opac-registration-verify.pl line 56.
        Global symbol "$template" requires explicit package name at
opac/opac-registration-verify.pl line 35.
        Global symbol "$borrowernumber" requires explicit package name at
opac/opac-registration-verify.pl line 52.
        Global symbol "$template" requires explicit package name at
opac/opac-registration-verify.pl line 57.

-- 
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