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

    Details

      Description

      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.

        Attachments

        1. screenshot-1.png
          screenshot-1.png
          63 kB
        2. demo.js
          0.8 kB

          Activity

            People

            Assignee:
            mudrd8mz David Mudrák (@mudrd8mz)
            Reporter:
            bastianignacioc Bastian Cisternas
            Peer reviewer:
            Juan Leyva
            Integrator:
            David Monllaó
            Tester:
            CiBoT
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/Sep/18