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

Rendered Match Question mysql code needs to switch from non-deprecated code

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 1.8.1
    • None
    • All...
    • MOODLE_18_STABLE

      Note- as i try to submit this bug, it says Component is Required, and the note says to select "unknown" if unsure- but unknown is not an option. Should i put in a bug report for the bug tracker?

      =--------------------

      Pulled the latest versions (as of early july) of the rendermatch question type, dropped them in the directory, then went to admin: got this message:

      No warnings - Scroll to the continue button

      renderedmatch plugin needs upgrading
      Function modify_database() is deprecated. Replace it with the new XMLDB stuff.

      • line 201 of lib\dmllib.php: call to debugging()
      • line 104 of lib\adminlib.php: call to modify_database()
      • line 390 of admin\index.php: call to upgrade_plugins()

      (mysql): CREATE TABLE mdl_question_renderedmatch ( id int(10) unsigned NOT NULL auto_increment, question int(10) unsigned NOT NULL default '0', subquestions varchar(255) NOT NULL default '', shuffleanswers tinyint(4) NOT NULL default '1', PRIMARY KEY (id), KEY question (question)) TYPE=MyISAM COMMENT='Defines fixed renderedmatching questions'

      Success

      (mysql): CREATE TABLE mdl_question_renderedmatch_sub ( id int(10) unsigned NOT NULL auto_increment, question int(10) unsigned NOT NULL default '0', questiontext text NOT NULL default '', answertext varchar(255) NOT NULL default '', PRIMARY KEY (id), KEY question (question)) TYPE=MyISAM COMMENT='Defines the subquestions that make up a renderedmatching question'

      Success

      renderedmatch tables have been set up correctly

            timhunt Tim Hunt
            divb D.I. von Briesen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.