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

Upgrade from 1.9 with file path depth more then 255 characters

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.4, 2.1.1
    • Component/s: Resource
    • Labels:
    • Testing Instructions:
      Hide

      1/ install 1.9
      2/ create some course files in deep nested dirs that exceed 225 chars
      3/ create some files with more than 255 chars (OS X does not support this)
      4/ try upgrade

      Show
      1/ install 1.9 2/ create some course files in deep nested dirs that exceed 225 chars 3/ create some files with more than 255 chars (OS X does not support this) 4/ try upgrade
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w29_MDL-22584_m22_monsterpaths

      Description

      With the possibility of have material many folders deep the filepath can be greater 255 characters. I suggest we need to increase this to 512 characters instead.

      alter table mdl_files alter column filepath type char(512);

      OR attached diff.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  1/Aug/11