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

GDPR data export objects with ? (question mark) in the title are not exported correctly under Windows server OS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 3.10.3
    • Privacy
    • None
    • MOODLE_310_STABLE

      Moodle course titles and forum post titles containing a question mark are resulting in content not exported correctly in GDPR data export requests on Windows servers.

      Taking a look inside the logs shows that this results in moodle trying to create subfolders with a question mark in the folder name in the temp folder which results in the file not being saved correctly (line 97 of \privacy\classes\local\request\moodle_content_writer.php: call to core_privacy\local\request\moodle_content_writer->write_data()). 

      This is caused by question marks being invalid in Windows folder and file names.

      Unfortunately the overall processing succeeds and the user gets his export zip file. The problematic contents are missing however.

            Unassigned Unassigned
            sbrenner Simon Brenner
            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.