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

Badly formatted lists in the grade history report

    XMLWordPrintable

Details

    • MOODLE_311_STABLE
    • MOODLE_311_STABLE
    • MDL-73140_311
    • Hide

      Setup

      1. Under Admin -> Users -> User policies -> Show user identity, ensure that more than one id field is selected.
      2. Ensure you have serveral users with values set for those fields.
      3. Ensure you have a course with some of those users enrolled as students.

      Test

      1. As teacher/admin, log in and go to your test course.
      2. Go to Gradebook > Grade history
      3. Click on 'Select users' button in the form.
      4. Verify In the pop-up, in the display of profile fields for each user, there is a space after each comma.
      5. Select more than one user.
      6. Click on 'Finish selecting users'
      7. Verify that back on the form the display of 'Selected users', there is a space after each comma.
      8. 'Submit' the form.
      9. Verify once the page has reloaded, in the form, the display of 'Selected users' has a space after each comma.

      Actual result: Whitespace is missing after the comma in the 'Selected users' list

      Show
      Setup Under Admin -> Users -> User policies -> Show user identity, ensure that more than one id field is selected. Ensure you have serveral users with values set for those fields. Ensure you have a course with some of those users enrolled as students. Test As teacher/admin, log in and go to your test course. Go to Gradebook > Grade history Click on 'Select users' button in the form. Verify In the pop-up, in the display of profile fields for each user, there is a space after each comma. Select more than one user. Click on 'Finish selecting users' Verify that back on the form the display of 'Selected users', there is a space after each comma. 'Submit' the form. Verify once the page has reloaded, in the form, the display of 'Selected users' has a space after each comma. Actual result: Whitespace is missing after the comma in the 'Selected users' list

    Description

      Steps:

      1. Under Admin -> Users -> User policies -> Show user identity, ensure that more than one id field is selected.
      2. As teacher/admin, log in to a course with graded activities and some students.
      3. Go to Navigation > Grades > Grade history
      4. Click on 'Select users'

      Actual result: In the pop-up, there is no space after the comma in the list of extra profile field values.

      1. and select some of the users from the list
      2. Click on 'Finish selecting users' and 'Submit'

      Actual result: Whitespace is missing after the comma in the 'Selected users' list

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              timhunt Tim Hunt
              Luca Bösch Luca Bösch
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Gladys Basiana Gladys Basiana
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                17/Jan/22

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 10 minutes
                  1h 10m