Moodle

question/type/datasetdependent/ missing version.php

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Questions
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

There is a block in question/type/datasetdependent/ because it contains install.xml, but is missing version.php ==> those tables are not installed at all in HEAD
hmm, it looks a bit weird because those tables are used in another plugin too, please grep for those table names

Issue Links

Activity

Hide
Tim Hunt added a comment -

Sorry, I overlooked this when doing MDL-6095. On existing installations we need to create the qtype_datasetdependent_version config row before the question types are installed/upgraded, so that xmldb does not try to recreate the already existing tables. Since the quiz used to be responsible for creating there tables, I'll put the upgrade code in the quiz upgrade file.

Show
Tim Hunt added a comment - Sorry, I overlooked this when doing MDL-6095. On existing installations we need to create the qtype_datasetdependent_version config row before the question types are installed/upgraded, so that xmldb does not try to recreate the already existing tables. Since the quiz used to be responsible for creating there tables, I'll put the upgrade code in the quiz upgrade file.
Hide
Petr Škoda (skodak) added a comment -

hmm, this is not fixed - I have filed a new issue MDL-16492

Show
Petr Škoda (skodak) added a comment - hmm, this is not fixed - I have filed a new issue MDL-16492

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: