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

Exception occurred while calling mod_survey\privacy\provider::export_user_data

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8.3
    • Fix Version/s: None
    • Component/s: Privacy, Survey
    • Labels:
    • Affected Branches:
      MOODLE_38_STABLE

      Description

      While testing a data export request at moodle.org clone site, the following error was thrown:

      Subject    Exception occurred while processing privacy data
       
      Exception occurred while calling mod_survey\privacy\provider::export_user_data.
      This means that plugin mod_survey did not complete the processing of data. The following exception information may be passed on to the plugin developer:
       
      Coding error detected, it must be fixed by a programmer: Invalid string identifier. The identifier cannot be empty. Please fix your get_string() call. (32767)
       
       
      #0 /opt/app/mod/survey/lib.php(914): get_string('\r', 'survey')
      #1 /opt/app/mod/survey/classes/privacy/provider.php(227): survey_translate_question(Object(stdClass))
      #2 /opt/app/mod/survey/classes/privacy/provider.php(405): mod_survey\privacy\provider::mod_survey\privacy\{closure}(Array, Object(stdClass))
      #3 /opt/app/mod/survey/classes/privacy/provider.php(250): mod_survey\privacy\provider::recordset_loop_and_export(Object(mysqli_native_moodle_recordset), 'cmid', Array, Object(Closure), Object(Closure))
      #4 [internal function]: mod_survey\privacy\provider::export_user_data(Object(core_privacy\local\request\approved_contextlist))
      #5 /opt/app/lib/moodlelib.php(8023): call_user_func_array('mod_survey\\priv...', Array)
      #6 /opt/app/privacy/classes/manager.php(578): component_class_callback('mod_survey\\priv...', 'export_user_dat...', Array)
      #7 /opt/app/privacy/classes/manager.php(611): core_privacy\manager::component_class_callback('mod_survey', 'core_privacy\\lo...', 'export_user_dat...', Array)
      #8 /opt/app/privacy/classes/manager.php(339): core_privacy\manager->handled_component_class_callback('mod_survey', 'core_privacy\\lo...', 'export_user_dat...', Array)
      #9 /opt/app/admin/tool/dataprivacy/classes/task/process_data_request_task.php(114): core_privacy\manager->export_user_data(Object(core_privacy\local\request\contextlist_collection))
      #10 /opt/app/lib/cronlib.php(284): tool_dataprivacy\task\process_data_request_task->execute()
      #11 /opt/app/lib/cronlib.php(166): cron_run_inner_adhoc_task(Object(tool_dataprivacy\task\process_data_request_task))
      #12 /opt/app/lib/cronlib.php(76): cron_run_adhoc_tasks(1589214001)
      #13 /opt/app/admin/cli/cron.php(61): cron_run()
      #14 {main}
      
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            mudrd8mz David Mudrák (@mudrd8mz)
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: