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

Mobile Web Service 'Could not insert a new entry to the Moodle log'


    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.6
    • Web Services

      Whenever using the Mobile app and viewing a user inside the participants list of a course it causes the following error

      Debugging: Error: Could not insert a new entry to the Moodle log. Data too long for column 'action' at row 1<ul style="text-align: left" data-rel="backtrace"><li>line 1698 of /lib/datalib.php: call to debugging()</li><li>line ? of unknownfile: call to add_to_log()</li><li>line 494 of /lib/classes/event/base.php: call to call_user_func_array()</li><li>line 1641 of /webservice/lib.php: call to core\\event
      base->trigger()</li><li>line 46 of /webservice/rest/server.php: call to webservice_base_server->run()</li></ul>

      This is due to it trying to insert 'moodle_user_get_course_participants_by_id' (length 41) into the action field (length 40) which refers to a web service function that is deprecated.

            Unassigned Unassigned
            supton.overtsoftware Steve Upton
            3 Vote for this issue
            7 Start watching this issue


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