Moodle

Question bank tables are created by the quiz module

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.7
  • Fix Version/s: 2.0
  • Component/s: Questions
  • Labels:
    None
  • Environment:
    All
  • Affected Branches:
    MOODLE_17_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

Needs to be tidied up. I think the issue is that this table is shared by the numerical and calculated types, so it is not clear who should create it.

Issue Links

Activity

Hide
Martin Dougiamas added a comment -

From Tim Hunt (T.J.Hunt at open.ac.uk) Friday, 11 August 2006, 10:27 PM:

In fact this applies to all question_... tables that do not belong to one of the question types.

Show
Martin Dougiamas added a comment - From Tim Hunt (T.J.Hunt at open.ac.uk) Friday, 11 August 2006, 10:27 PM: In fact this applies to all question_... tables that do not belong to one of the question types.
Hide
Tim Hunt added a comment -

The really core tables are now created by lib/db, the datasetdependent tables are not created by the datasetdependent question type, and the question_numerical_units table is now created by the numerical question type.

The last two are shared by the calculated question type, but there is no problem with them being created in the order they are now created in. In the past, before the policy that upgrade to 2.0 would have to go via 1.9, there would have been bit problems to do with the order of updates, but fortunately that is no longer an issue.

Show
Tim Hunt added a comment - The really core tables are now created by lib/db, the datasetdependent tables are not created by the datasetdependent question type, and the question_numerical_units table is now created by the numerical question type. The last two are shared by the calculated question type, but there is no problem with them being created in the order they are now created in. In the past, before the policy that upgrade to 2.0 would have to go via 1.9, there would have been bit problems to do with the order of updates, but fortunately that is no longer an issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: