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

core_user_create_users allows to create user with empty username, firstname and lastname

XMLWordPrintable

    • MOODLE_34_STABLE
    • MOODLE_34_STABLE, MOODLE_35_STABLE
    • MDL-63174-master-emptyusername
    • Hide

      Manual testing not required - covered by unit tests.

      If you insist on checking this manually, set up a site with a custom web service that allows a client to register new users, implement a test client and attempt to register a user with empty username, lastname or firstname.

      Show
      Manual testing not required - covered by unit tests. If you insist on checking this manually, set up a site with a custom web service that allows a client to register new users, implement a test client and attempt to register a user with empty username, lastname or firstname.

      Steps to reproduce

      1. Attempt to create a new user account via web service, with empty username, firstname and lastname field
      • Expected result: The UI interface does not allow to create such a user, so the WS should not allow that neither.
      • Actual result: A new user is created, having all these three fields empty.

        1. demo.js
          0.8 kB
          David Mudrák (@mudrd8mz)
        2. screenshot-1.png
          63 kB
          David Mudrák (@mudrd8mz)

            mudrd8mz David Mudrák (@mudrd8mz)
            bastianignacioc Bastian Cisternas
            Juan Leyva Juan Leyva
            David Monllaó David Monllaó
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.