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

External function: create_categories cause warnings

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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:

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              samhemelryk Sam Hemelryk added a comment -

              Thanks Jerome, this has been integrated now

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

              Oh could you please add testing instructions ASAP!

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

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

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

              whoa that was quick, thanks.

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

              This is working great.

              Thanks Jerome.

              Test passed.

              Show
              rwijaya Rossiani Wijaya added a comment - This is working great. Thanks Jerome. Test passed.
              Hide
              stronk7 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
              stronk7 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:
                    Fix Release Date:
                    25/Jun/12