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

Creating new web service tokens create error

XMLWordPrintable

    • MOODLE_21_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • Hide

      Add a new web service in the admin, and add all functions to this service. Create a token for a user non admin. Check that the error message is not displayed on the token admin page.

      Show
      Add a new web service in the admin, and add all functions to this service. Create a token for a user non admin. Check that the error message is not displayed on the token admin page.

      Noticed the following error while testing MDL-30045, to create new token for a student:

      Did you remember to make the first column something unique in your call to get_records? Duplicate value '766' found in column 'id'.
       
          line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
          line 364 of /webservice/lib.php: call to mysqli_native_moodle_database->get_records_sql()
          line 391 of /webservice/lib.php: call to webservice->get_user_capabilities()
          line 7550 of /lib/adminlib.php: call to webservice->get_missing_capabilities_by_users()
          line 1343 of /lib/adminlib.php: call to admin_setting_managewebservicetokens->output_html()
          line 126 of /admin/settings.php: call to admin_settingpage->output_html()

            jerome Jérôme Mouneyrac
            rwijaya Rossiani Wijaya
            Rossiani Wijaya Rossiani Wijaya
            Dan Poltawski Dan Poltawski
            Andrew Davis Andrew Davis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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