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

Configurable Reports : can't use webservices

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.3.5
    • None
    • MOODLE_403_STABLE

      Hello, with the new version of the block_configurablereports plugin, I am no longer able to use the web services to retrieve information from a report. Here is the error I encounter:

      {{

      { "exception": "TypeError", "message": "report_base::check_permissions(): Argument #1 ($userid) must be of type int, null given, called in /srv/www/moodle/blocks/configurable_reports/classes/external.php on line 95" }

      }}

      I am using the REST protocol. I have conducted multiple tests with the permissions, making the account used for the request an admin, without success.
      The only way to resolve this bug is to revert to the old version (2020100800).

      Does anyone know where the problem comes from? Thank you in advance for your response.

       

      Best regards

            jleyva Juan Leyva
            maximecruzel Maxime Cruzel
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

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