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

Adding web service token generates alternate names debugging message

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Visit Administration>Plugins>Web services>Manage tokens and click on 'Add'.
      2. This list of users to choose must appear (you should have not many users in the system to check it)
      3. Ensure there are no debugging messages and that you can add a token for a user.
      Show
      Visit Administration>Plugins>Web services>Manage tokens and click on 'Add'. This list of users to choose must appear (you should have not many users in the system to check it) Ensure there are no debugging messages and that you can add a token for a user.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Pull Master Branch:
      MDL-43215_master
    • Story Points:
      3
    • Sprint:
      BACKEND Sprint 7

      Description

      1. Visit <yoursite>/admin/settings.php?section=webservicetokens and click on 'Add'.
      2. You will see a debugging message regarding alternate name fields.

      You need to update your sql to include additional name fields in the user object.
       
      line 3580 of /lib/moodlelib.php: call to debugging()
      line 220 of /admin/webservice/forms.php: call to fullname()
      line 191 of /lib/formslib.php: call to web_service_token_form->definition()
      line 55 of /admin/webservice/tokens.php: call to moodleform->moodleform()
      

        Attachments

          Activity

            People

            Assignee:
            markn Mark Nelson
            Reporter:
            markn Mark Nelson
            Peer reviewer:
            Jérôme Mouneyrac
            Integrator:
            Marina Glancy
            Tester:
            Jason Fowler
            Participants:
            Component watchers:
            Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              13/Jan/14