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

Competency external functions require non-null sortorder

    XMLWordPrintable

    Details

      Description

      The competency objects have a default sortorder value, but when used with the external function to create a competency, it does not work because the default value null is given to the property and does not match PARAM_INT.

      Changing the default to 0 solves the problem without affecting the current behaviour because internally the sortorder is always forced when creating a competency.

      Update methods are not affected.

        Attachments

          Activity

            People

            Assignee:
            lameze Simey Lameze
            Reporter:
            fred Frédéric Massart
            Peer reviewer:
            Simey Lameze
            Integrator:
            Damyon Wiese
            Tester:
            Ankit Agarwal
            Participants:
            Component watchers:
            Damyon Wiese, Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              13/Nov/17