Non-core contributed modules

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

Details

  • Type: Task Task
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.8.1
  • Fix Version/s: None
  • Labels:
    None
  • Environment:
    All...
  • Affected Branches:
    MOODLE_18_STABLE

Description

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

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: