Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-64792

Questiontype Database Collation Error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5.4
    • Fix Version/s: None
    • Component/s: Database SQL/XMLDB
    • Labels:
      None
    • Affected Branches:
      MOODLE_35_STABLE

      Description

      Getting this error in 3.5.4:

       

      Debug info: COLLATION 'utf8mb4_bin' is not valid for CHARACTER SET 'utf8'
      SELECT a.*
      FROM mdl_question_dataset_definitions a, mdl_question_datasets b
      WHERE a.id = b.datasetdefinition AND a.type = '1' AND b.question = ? AND a.name COLLATE utf8mb4_bin = ?
      [array (
      0 => '495692',
      1 => 'A',
      )]
      Error code: dmlreadexception

       

      When attempting to save existing questiontypes. 

       

      Database is set to utf8_general_ci collation. 

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dustinbrisebois Dustin Brisebois
              Participants:
              Component watchers:
              Jake Dallimore, Jun Pataleta
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: