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

Gradebook: Table header order of names not consistent with displayed names for the entries

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.3, 3.6
    • Fix Version/s: 3.5.4
    • Component/s: Gradebook
    • Labels:
    • Testing Instructions:
      Hide

      Prerequisites:

      1. Have a course
      2. Enrol some students in a course.

      Instructions (Test in both Boost or Clean)

      1. Login as admin
      2. Open up 2 tabs
        1. First tab
          1. Goto Site Administration -> User Policies
          2. Change 'full name format' and 'Alternative full name format' to one of the approved values(check description) - set the values the same for both
          3. Save changes
        2. Second tab
          1. Go to gradebook
          2. Confirm student name header and column values matches the config setting(in 2.1.2)
      3. Repeat 2.1 and 2.2 setting different values for the fields specified
      Additional tests:
      1. Log in as admin.
      2. Go to Site administration / Users / Permissions / User policies
      3. Set "fullnamedisplay" to "alternatename (firstname)"
      4. Set the "alternativefullnameformat" to "lastname, firstname".
      5. Save the changes.
      6. Go to Site administration / Users / Permissions / Define roles
      7. Edit the "Non-editing teacher" role.
      8. Untick the "moodle/site:viewfullnames" capability.
      9. Save the changes.
      10. Edit the profile of one or two students in the course and set an alternate name for these students.
      11. On a course, enrol 2 teachers t1 (Teacher), t2 (Non-editing teacher).
      12. Log in as a t1 in a course.
      13. Go to the grader report.
      14. Confirm that the heading for the name column is shown as "Surname / First name"
      15. Confirm that the names in the table match the "alternativefullnameformat" format.
      16. Log in as t2
      17. Go to the grader report.
      18. Confirm that the heading for the name column is shown as "Alternate name / First name"
      19. Confirm that the names in the table match the "fullnamedisplay" format.
      Show
      Prerequisites: Have a course Enrol some students in a course. Instructions (Test in both Boost or Clean) Login as admin Open up 2 tabs First tab Goto Site Administration -> User Policies Change 'full name format' and 'Alternative full name format' to one of the approved values(check description) - set the values the same for both Save changes Second tab Go to gradebook Confirm student name header and column values matches the config setting(in 2.1.2) Repeat 2.1 and 2.2 setting different values for the fields specified Additional tests: Log in as admin. Go to Site administration / Users / Permissions / User policies Set " fullnamedisplay " to " alternatename (firstname) " Set the " alternativefullnameformat " to " lastname, firstname ". Save the changes. Go to Site administration / Users / Permissions / Define roles Edit the " Non-editing teacher " role. Untick the " moodle/site:viewfullnames " capability. Save the changes. Edit the profile of one or two students in the course and set an alternate name for these students. On a course, enrol 2 teachers t1 (Teacher), t2 (Non-editing teacher). Log in as a t1 in a course. Go to the grader report. Confirm that the heading for the name column is shown as " Surname / First name " Confirm that the names in the table match the " alternativefullnameformat " format. Log in as t2 Go to the grader report. Confirm that the heading for the name column is shown as " Alternate name / First name " Confirm that the names in the table match the " fullnamedisplay " format.
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE
    • Pull from Repository:
    • Pull 3.5 Branch:
    • Pull Master Branch:
      MDL-63571-master

      Description

      Hi,

      it's been a long time since we encountered this small bug in the gradebook table in Moodle:

      The header says surname firstname but in the the table the entries shows the names in the common format firstname surname.

      Best, Kathrin

        Attachments

        1. gradebook_names.png
          gradebook_names.png
          20 kB
        2. MDL-63571_Additional tests.PNG
          MDL-63571_Additional tests.PNG
          191 kB
        3. MDL-63571_BOOST.PNG
          MDL-63571_BOOST.PNG
          151 kB
        4. MDL-63571_CLEAN.PNG
          MDL-63571_CLEAN.PNG
          89 kB
        5. MDL-63571_Step#2.2.2.PNG
          MDL-63571_Step#2.2.2.PNG
          211 kB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Jan/19

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h