Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-4315

qtype_algebra will not install: Errors found in XMLDB

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4
    • None
    • Question type: Algebra
    • None
    • MOODLE_24_STABLE

    Description

      Reported by Brian Connor:
      I'm getting this message when I try to upgrade after installing the algebra folder question/type/

      Debug info: Errors found in XMLDB file: Some TABLES previous/next values are incorrect
      Error code: ddlxmlfileerror
      Stack trace:

      line 349 of \lib\ddl\database_manager.php: ddl_exception thrown
      line 365 of \lib\ddl\database_manager.php: call to database_manager->load_xmldb_file()
      line 436 of \lib\upgradelib.php: call to database_manager->install_from_xmldb_file()
      line 1544 of \lib\upgradelib.php: call to upgrade_plugins()
      line 349 of \admin\index.php: call to upgrade_noncore()

      The problem is that when changing the name of the plugin's table from qtype_algebra to qtype_algebra_options I forgot one place in db/install.xml and I tested upgrade but not fresh install after that change. My mistake.

      Attachments

        Activity

          People

            jmvedrine Jean-Michel Vedrine
            jmvedrine Jean-Michel Vedrine
            Roger Moore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: