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

Quiz question name error when text is over 255 chars

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.4, 2.6, 2.7
    • Fix Version/s: 2.5.5, 2.6.2
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide

      1. Go to any question type.
      2. Create/Edit a new question.
      3. Try to enter name of Question greater than 255 chars.
      4. See that the text box doesnt take input more than 255 chars.

      Show
      1. Go to any question type. 2. Create/Edit a new question. 3. Try to enter name of Question greater than 255 chars. 4. See that the text box doesnt take input more than 255 chars.
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-43265_new

      Description

      The "text input tag" for name is not limited to 255 chars causing an exception: Error writing to database if text exceeds 255 chars.

      table:mdl_question, field: name is limited to varchar(255)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Mar/14