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

core_tag_get_tags has incorrect definition

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.9.19, 3.11.12, 4.0.6, 4.1.1
    • None
    • Tags, Web Services
    • None
    • MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE

    Description

      The external_format_value class constructor takes an integer as the second param, not a string.

      'descriptionformat' => new external_format_value(PARAM_INT, 'tag description format'),
      

      This causes the webservice documentations to throw a warning because the $required property is never set.

      This issue should;

      1. make the webservice documentation more robust; and
      2. find, seek, destroy all incorrect calls to external_format_value

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dobedobedoh Andrew Lyons
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Juan Leyva, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: