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

course shortname too long in course/request_form.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.9, 1.9.1, 1.9.2, 1.9.3
    • Fix Version/s: 1.9.4, 2.0
    • Component/s: Course
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      The database field

      {prefix}

      course_request.shortname is defined as char(15). The fieldsize for shortname in course/request_form.php is set to 100 characters.
      The problem comes with the modifications of the shortname lenght in the form due to the MDL-9804 but not in the database.

      To solve the problem we have to change de field in the database to get the same lenght as in the course.shotname (char(100)) or undo the changes in the course/request_form.php ( Revision 1.10 Branch: MAIN)

      This bug id related with MDL-9804

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              yordonez Yolanda Ordoñez Rufat
              Tester:
              Tim Hunt
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/Jan/09