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

Forum post exports broken/performance debugging appended to them

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.3
    • 4.3
    • Forum
    • MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • Hide
      1. Log in as admin
      2. Create a course
      3. Navigate to course Announcements forum
      4. Create a new discussion
      5. Press More > Export from navigation
      6. Disable Posts from/to options
      7. Set Format to Comma separated values (CSV)
      8. Press Export
      9. Open downloaded file and confirm there is no debugging appended to the content
      Show
      Log in as admin Create a course Navigate to course Announcements forum Create a new discussion Press More > Export from navigation Disable Posts from/to options Set Format to Comma separated values (CSV) Press Export Open downloaded file and confirm there is no debugging appended to the content

      If exporting to dataformat from the forum export page, then the performance information output buffer is appended to the end of the file

      This corrupts binary formats like XLSX, and can be more easily seen when exporting to text formats such as CSV - example: discussion.csv

      Appears to be caused by MDL-73734 here: https://github.com/moodle/moodle/commit/20b8f8f9c99910c527cdfc463652af10160acf23 (CC: brendanheywood)

            pholden Paul Holden
            pholden Paul Holden
            David Woloszyn David Woloszyn
            Huong Nguyen Huong Nguyen
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 48 minutes
                48m

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