XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.5
    • Component/s: Libraries
    • Labels:
    • Testing Instructions:
      Hide

      a) phpunit courselib_testcase ./course/tests/courselib_test.php

      b) In Moodle, create and update every type of module and activity. All should work fine. Try with advanced grading, outcomes, conditional availability.

      Show
      a) phpunit courselib_testcase ./course/tests/courselib_test.php b) In Moodle, create and update every type of module and activity. All should work fine. Try with advanced grading, outcomes, conditional availability.
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
      MDL-37079-master2

      Description

      From course/modedit.php create a function create_module() that can be:
      1- used by web service
      2- used in core itself

      The code being massive it could need to be separated in different functions. Need to identify piece of code that could be reusable in other place.

      Don't forget to check in the main form (each module has different form, but I guess there should be some common part) that there is no additional checks.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jerome Jérôme Mouneyrac
              Reporter:
              jerome Jérôme Mouneyrac
              Peer reviewer:
              Rajesh Taneja
              Integrator:
              Damyon Wiese
              Tester:
              Andrew Davis
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/May/13