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

HTML in date columns in offline grading worksheet

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3.4, 3.4.1, 3.5
    • 3.4.3, 3.5
    • Assignment
    • MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • MOODLE_34_STABLE, MOODLE_35_STABLE
    • MDL-61482-master
    • Hide

      Testing steps:

      1. Create an assignment with offline grading worksheet enabled
      2. Give one of the students a user override, and set the due date and cut-off date
      3. Download the offline grading worksheet
      4. The downloaded grading worksheet should not contain any HTML <div> tags around the following dates:
        • 'Allow submissions from'
        • 'Due date'
        • 'Cut-off date'
      Show
      Testing steps: Create an assignment with offline grading worksheet enabled Give one of the students a user override, and set the due date and cut-off date Download the offline grading worksheet The downloaded grading worksheet should not contain any HTML <div> tags around the following dates: 'Allow submissions from' 'Due date' 'Cut-off date'

    Description

      The date columns in the offline grading worksheet (due date and cutoff date) are wrapped in HTML tags, e.g. <div class="duedate">Thursday, 15 February 2018, 12:00 AM</div>

      There is no reason for this and it is potentially confusing for end users. They should be output as the raw date.

      To reproduce, in a course with students:

      1. create an assignment with offline grading worksheet enabled
      2. give one of the students a user override, and set the due date and cut-off date
      3. download the offline grading worksheet
      4. there are due date and cut-off date columns in the worksheet, and the data contains HTML tags

      Attachments

        Issue Links

          Activity

            People

              zig Zig Tan (Inactive)
              maherne Michael Aherne
              Damyon Wiese Damyon Wiese
              David Monllaó David Monllaó
              David Monllaó David Monllaó
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                17/May/18