Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-27794 META Moodle 2.x question bank improvements
  3. MDL-27799

Remove question type constants from the question import/export code

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1
    • 2.4
    • Questions
    • MOODLE_21_STABLE
    • MOODLE_24_STABLE
    • Hide

      The unit tests already test this pretty thoroughly, so I think we just need some basic testing through the UI.

      For on or two formats
      1. try importing an example file from question/format/.../tests/fixtures/..., using Question bank -> Import.

      2. Test importing some questions into the lesson module - which does not use the question bank.

      Show
      The unit tests already test this pretty thoroughly, so I think we just need some basic testing through the UI. For on or two formats 1. try importing an example file from question/format/.../tests/fixtures/..., using Question bank -> Import. 2. Test importing some questions into the lesson module - which does not use the question bank.

    Description

      This follows on from MDL-20538. The constants that were removed from questionlib.php need to all be eliminated. (Only about about 150 references to them, according to grep ).

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              timhunt Tim Hunt
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Dec/12