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

Name fields notices on registration page.

    XMLWordPrintable

Details

    • MOODLE_26_STABLE
    • MOODLE_26_STABLE
    • MDL-42173-master
    • 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".
    • 8
    • 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

              ankit_frenz Ankit Agarwal
              ankit_frenz Ankit Agarwal
              Adrian Greeve Adrian Greeve
              Marina Glancy Marina Glancy
              Andrew Davis Andrew Davis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Nov/13