[Koha-bugs] [Bug 33760] New: Error 500 showing with self-registration form due to mandatory and optional fields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 18 11:38:00 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33760

            Bug ID: 33760
           Summary: Error 500 showing with self-registration form due to
                    mandatory and optional fields
 Change sponsored?: ---
           Product: Koha
           Version: 22.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: System Administration
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: rebecca.bradshaw at nnuh.nhs.uk
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

We have been having a lot of difficulty with our self-registration form on the
OPAC. We set up some fields as mandatory but this triggered an error 500
message.

On our self-registration form we have the employment details mandatory:
https://elms.koha-ptfs.co.uk/cgi-bin/koha/opac-memberentry.pl (we have had to
make them optional for the time being due to the error showing). 

Whilst these fields were mandatory and new users completed them an error 500
would trigger when the form was saved. However, the user record would still be
made (this led to many new users creating multiple records as they thought it
had not saved the first time).

The user record, however, would not contain the completed employment details or
the consent (yes/no) answer for whether users would like to sign up to the
Knowledge Share or Open Athens. 

This appears to have been because the mandatory fields in the staff interface
user record form were not being shown on the OPAC self-registration form. This
has meant that the fields staff must complete on the staff interface have had
to be made optional so they 
1. don't show on the self-registration form and 
2. don't create an error 500 message from showing.

Is it possible for the bug to be looked into please?

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


More information about the Koha-bugs mailing list