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

Log report export contains html

    XMLWordPrintable

Details

    • 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.

    Description

      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!

      Attachments

        Issue Links

          Activity

            People

              tbannister Tyler Bannister
              TheGeekTeacher Richard Schwarz
              Rajesh Taneja Rajesh Taneja
              David Monllaó David Monllaó
              Jetha Chan Jetha Chan
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              11 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Mar/15