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

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.4
    • Component/s: Questions
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      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

              • Assignee:
                timhunt Tim Hunt
                Reporter:
                timhunt Tim Hunt
                Integrator:
                Eloy Lafuente (stronk7)
                Tester:
                Eloy Lafuente (stronk7)
                Participants:
                Component watchers:
                Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Dec/12