Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-42173

Name fields notices on registration page.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6, BACKEND
    • Component/s: Administration
    • Labels:
    • Testing Instructions:
      Hide
      1. Enable max debug in moodle config.
      2. Enable email based Self registration.
      3. Set the registration settings to use email based self registration
      4. Try registering for an account. Make sure no errors/warnings/notices are produced during the process.
      5. Fill the registration form again and leave the firstname field empty and fill the rest properly and submit. Make sure you get a validation error saying "Missing given name". Try the same with "lastname".
      Show
      Enable max debug in moodle config. Enable email based Self registration. Set the registration settings to use email based self registration Try registering for an account. Make sure no errors/warnings/notices are produced during the process. Fill the registration form again and leave the firstname field empty and fill the rest properly and submit. Make sure you get a validation error saying "Missing given name". Try the same with "lastname".
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-42173-master
    • Story Points:
      8
    • Sprint:
      BACKEND Sprint 6

      Description

      While investigating MDL-42138, I noticed that registration page is generating notices as below:-

      You need to update your sql to include additional name fields in the user object.
      line 3601 of /lib/moodlelib.php: call to debugging()
      line 65 of /login/signup_form.php: call to fullname()
      line 191 of /lib/formslib.php: call to login_signup_form->definition()
      line 312 of /lib/authlib.php: call to moodleform->moodleform()
      line 50 of /login/signup.php: call to auth_plugin_base->signup_form()

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  18/Nov/13