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

Web Services not failing when there are empty required custom user profile fields

XMLWordPrintable

    • MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE
    • MOODLE_31_STABLE, MOODLE_32_STABLE
    • MDL-58071-master
    • Hide
      1. Enable Mobile services on the site
      2. Access using a non-admin account via the mobile app to the site (don't do anything more)
      3. As an admin, define a required custom user profile field.
      4. Go back to the app, try to browse to a course, you should see a "User not fully setup" exception.
      Show
      Enable Mobile services on the site Access using a non-admin account via the mobile app to the site (don't do anything more) As an admin, define a required custom user profile field. Go back to the app, try to browse to a course, you should see a "User not fully setup" exception.

      The changes MDL-46946 are affecting Web Services, in Web you can't do anything if you have an empty required field, but via Web Services you can retrieve any content and browse the full site via the Mobile app.

      The Mobile app is able to handle the usernotfullysetup exception, if is returned by a Web Service we display a warning to the user and open the site in a web browser so the user can fill the missing required profile.
      This is currently working for the core required profile fields so it should work the same for the custom profile fields ones.

            jleyva Juan Leyva
            jleyva Juan Leyva
            David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Rajesh Taneja Rajesh Taneja
            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.