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

`mdl_shb_user`.`lang` is with varchar 10 too short for individual UTF-8 langnames

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.3, 1.7
    • Fix Version/s: 1.8
    • Component/s: Database SQL/XMLDB
    • Labels:
      None
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_16_STABLE, MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      Since UTF-8 language names have already 7 characters varchar 10 is a bit short for individual UTF-8 language names.

      After a long trouble shooting why language changes did not work as expected I noticed, that the individual language name "de_shb_utf8" gets truncated in the database

      Please add the now missing 5 characters (_utf8) to the lang field to give more flexibility back.

        Attachments

          Activity

            People

            Assignee:
            stronk7 Eloy Lafuente (stronk7)
            Reporter:
            urshunkler Urs Hunkler
            Tester:
            Nobody
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              31/Mar/07