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

Unexpected debugging messages on external groups related API functions

    XMLWordPrintable

    Details

      Description

      When using webservices or just external API functions for managing groups and grouping an  unexpected debugging messages pop up in the log (or screen).

      List of functions external functions:

      • add_group_members
      • delete_group_members
      • delete_groupings

      Messages in the logs/screen: 

      Unexpected debugging() call detected. Debugging: Fields list in snapshot record does not match fields list in 'groupings'. Record is missing fields: name, idnumber, description, descriptionformat, configdata, timecreated, timemodified

      This happens because not fully loaded object gets passed to a related event (e.g. to  \core\event\grouping_deleted).

        Attachments

          Activity

            People

            • Assignee:
              dmitriim Dmitrii Metelkin
              Reporter:
              dmitriim Dmitrii Metelkin
              Peer reviewer:
              Matt Porritt
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Juan Leyva, Jake Dallimore, Jun Pataleta, Ryan Wyllie
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Mar/19