Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-9726

Export (XML) empty xml.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.1.15
    • None
    • 4.1.0
    • MOODLE_401_STABLE

      Plugin generates a link to download xml as

      /blocks/configurable_reports/viewreport.php?id=29&courseid=128&download=1&format=xls

      and not as:

      /blocks/configurable_reports/viewreport.php?id=29&courseid=128&download=1&format=xls

      which may cause a problem on some servers. (empty xml)

      Problem is generated by the s() function, if it is not there the url is correct

      $wwwpath .= "&$key=" . s($val); 

      // TODO Use moodle_url.
      $output .= '<a href="' . s($wwwpath) . '&amp;download=1&amp;format=' . s($e) . '"> 

            jleyva Juan Leyva
            amalkowski Arkadiusz Malkowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

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