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

Debugging Notice: Fields list in snapshot record does not match fields list in 'external_tokens'.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.2
    • Component/s: Web Services
    • Labels:
    • Testing Instructions:
      Hide
      1. As admin, enable debugging (developer) and display debug messages
      2. Enable "Mobile services": Plugins ► Web Services ► Mobile
      3. Create a new user in the platform
      4. Try to get a token via login/token.php for this new user (passing the shortname of the mobile app service, username and password as parameters): /login/token.php?username=testtoken&password=testtoken&service=moodle_mobile_app
      5. Check that you receive the token and you don't see any debugging (the privatetoken may be null if your site does not use https)
      Show
      As admin, enable debugging (developer) and display debug messages Enable "Mobile services": Plugins ► Web Services ► Mobile Create a new user in the platform Try to get a token via login/token.php for this new user (passing the shortname of the mobile app service, username and password as parameters): /login/token.php?username=testtoken&password=testtoken&service=moodle_mobile_app Check that you receive the token and you don't see any debugging (the privatetoken may be null if your site does not use https)
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-55992-master

      Description

      php[6240]
      Debugging: Fields list in snapshot record does not match fields list in 'external_tokens'. Record is missing fields: sid, iprestriction, lastaccess in

      • line 876 of \lib\classes\event\base.php: call to debugging()
      • line 201 of \login\token.php: call to core\event\base->add_record_snapshot()

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  5/Dec/16