Moodle

Should only include the code for the qtypes that are actually used.

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.7
  • Fix Version/s: 2.1
  • Component/s: Questions
  • Labels:
    None
  • Affected Branches:
    MOODLE_17_STABLE
  • Fixed Branches:
    MOODLE_21_STABLE

Description

All question types are loaded on every quiz page, mainly just so we know which ones are available. With more types, this will probably become a performance issue.

It would be better to register them in the database at install time, and then include ontly the ones that are necessary to display any particular page.

Activity

Hide
Tim Hunt added a comment -

This is quite hard once you have multianswer and random questions floating around.

Show
Tim Hunt added a comment - This is quite hard once you have multianswer and random questions floating around.
Hide
Tim Hunt added a comment -

This is fixed by the new question engine (MDL-20636).

Show
Tim Hunt added a comment - This is fixed by the new question engine (MDL-20636).

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: