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

Log report export contains html

XMLWordPrintable

    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • Hide
      1. Navigate to Site administration > Reports > Logs and select “Standard log” from the dropdown and click “Get these logs”. If that option is not available then you are already viewing the standard log by default.
      2. Under the “Download table data as” label, select the CSV format and click “Download”. Open the downloaded file and verify that the data in the file, including the headers, match the data on the page and that it does not contain HTML.
      Show
      Navigate to Site administration > Reports > Logs and select “Standard log” from the dropdown and click “Get these logs”. If that option is not available then you are already viewing the standard log by default. Under the “Download table data as” label, select the CSV format and click “Download”. Open the downloaded file and verify that the data in the file, including the headers, match the data on the page and that it does not contain HTML.

      When downloading any type of log file (.csv, excel, tab seperated etc), the user full name, event context, event name and ip address are all outputted as html. Not very useful if you're trying to drill through them.

      To replicate:
      Go to:
      Administration -> Site administration -> Reports -> Logs
      Select a log to view (any does it)
      Go to bottom of page, select any of the download file types, select "Download'
      Open file and the columns named above have all the html from the browser included.

      Is this meant to happen? Or can there be an option to download without html?

      Thanks!

            tbannister Tyler Bannister
            TheGeekTeacher Richard Schwarz
            Rajesh Taneja Rajesh Taneja
            David Monllaó David Monllaó
            Jetha Chan Jetha Chan
            Votes:
            11 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved:

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