Moodle
  1. Moodle
  2. MDL-33528

External function: create_categories cause warnings

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Web Services
    • Labels:
    • Testing Instructions:
      Hide

      Run the demo REST client with the right function name and:
      $params = array('categories' => array(array('name' => 'Test category')));

      This will go through the two code changes. If it creates a category at root level, all is working.

      Show
      Run the demo REST client with the right function name and: $params = array('categories' => array(array('name' => 'Test category'))); This will go through the two code changes. If it creates a category at root level, all is working.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull Master Branch:
    • Rank:
      41451

      Description

      When calling core_course_create_categories without idnumber it causes a warning. parent parameter also needs more comment about how to set up a category as a root.

        Issue Links

          Activity

          Hide
          Sam Hemelryk added a comment -

          Thanks Jerome, this has been integrated now

          Show
          Sam Hemelryk added a comment - Thanks Jerome, this has been integrated now
          Hide
          Sam Hemelryk added a comment -

          Oh could you please add testing instructions ASAP!

          Show
          Sam Hemelryk added a comment - Oh could you please add testing instructions ASAP!
          Hide
          Michael de Raadt added a comment -

          Let me know when you have testing instructions on this and I will find a tester.

          Show
          Michael de Raadt added a comment - Let me know when you have testing instructions on this and I will find a tester.
          Hide
          Jérôme Mouneyrac added a comment -

          whoa that was quick, thanks.

          Show
          Jérôme Mouneyrac added a comment - whoa that was quick, thanks.
          Hide
          Rossiani Wijaya added a comment -

          This is working great.

          Thanks Jerome.

          Test passed.

          Show
          Rossiani Wijaya added a comment - This is working great. Thanks Jerome. Test passed.
          Hide
          Eloy Lafuente (stronk7) added a comment -

          We could celebrate it today... but better if we perform a bigger party after releasing Moodle 2.3.

          Print this message and come to Perth that day, it's valid for one beer, wine, coke or... water, as you wish.

          Many thanks for your collaboration!

          Ciao

          Show
          Eloy Lafuente (stronk7) added a comment - We could celebrate it today... but better if we perform a bigger party after releasing Moodle 2.3. Print this message and come to Perth that day, it's valid for one beer, wine, coke or... water, as you wish. Many thanks for your collaboration! Ciao

            People

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

              Dates

              • Created:
                Updated:
                Resolved: