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

course shortname too long in course/request_form.php

    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

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            skodak Petr Skoda added a comment -

            form field shortened in 1.9.x and db field changed in 2.0dev

            thanks for the report

            Show
            skodak Petr Skoda added a comment - form field shortened in 1.9.x and db field changed in 2.0dev thanks for the report
            Hide
            timhunt Tim Hunt added a comment -

            There is another bug out there about changing the database field: MDL-13746 - You may have just fixed, or half-fixed that Petr.

            Show
            timhunt Tim Hunt added a comment - There is another bug out there about changing the database field: MDL-13746 - You may have just fixed, or half-fixed that Petr.
            Hide
            timhunt Tim Hunt added a comment -

            Nice work. Thanks.

            Show
            timhunt Tim Hunt added a comment - Nice work. Thanks.

              People

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

                Dates

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