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

Error on adding authorized users for external services in web services

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_21_STABLE

      Description

      while testing for MDL-30045, the following error occurs in attempt to add authorized user (student) to external services:

      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 96 of /admin/webservice/service_users.php: call to webservice->get_missing_capabilities_by_users()

      The above error also occurs on MDL-30225.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jerome Jérôme Mouneyrac
              Reporter:
              rwijaya Rossiani Wijaya
              Participants:
              Component watchers:
              Juan Leyva, 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:
                Resolved: