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

core_tag_get_tags has incorrect definition

XMLWordPrintable

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

      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

            Unassigned Unassigned
            dobedobedoh Andrew Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.