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

Custom user field support: Quiz overrides

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.0
    • 3.11, 4.0
    • Quiz
    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • Hide

      This is mostly covered by Behat, but would be good to have some manual testing to ensure it looks OK.

      1. If you don't have one already, add a custom user field (admin / Users / Accounts / Profile fields) using the 'Text input' type with max length set to a small value e.g. 32.
      2. Select this field as part of user identity (admin / Users / Permissions / User policies -> Show user identity - select it from the checkboxes).
      3. Edit a test user account profile and give them a value for the custom field.
      4. Create a course
      5. Enrol the users in that course.
      6. Create a quiz with a few questions
      7. Then go to Quiz administration -> User overrides
      8. Verify that you see a new columns with the user custom field in the User overrides table
      9. Add a new override.
      10. Verify that the profile field values are shown in the user selector.
      11. Delete an override.
      12. Verify that the profile field valuess are shown in the confirmation message.
      Show
      This is mostly covered by Behat, but would be good to have some manual testing to ensure it looks OK. If you don't have one already, add a custom user field (admin / Users / Accounts / Profile fields) using the 'Text input' type with max length set to a small value e.g. 32. Select this field as part of user identity (admin / Users / Permissions / User policies -> Show user identity - select it from the checkboxes). Edit a test user account profile and give them a value for the custom field. Create a course Enrol the users in that course. Create a quiz with a few questions Then go to Quiz administration -> User overrides Verify that you see a new columns with the user custom field in the User overrides table Add a new override. Verify that the profile field values are shown in the user selector. Delete an override. Verify that the profile field valuess are shown in the confirmation message.

      The quiz overrides should support custom user fields.

            mkassaei Mahmoud Kassaei
            mkassaei Mahmoud Kassaei
            Tim Hunt Tim Hunt
            Ilya Tregubov Ilya Tregubov
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h

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