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

Regression: Legacy Course Files point to wrong location from file picker

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Component/s: Files API
    • Environment:
      MS-Windows Server 2008 R2, IIS 7.5, FastCGI, MS-SQL 2008, PHP 5.3.8
    • Database:
      PostgreSQL, Microsoft SQL
    • Workaround:
      Hide

      Downgrade server back to 2.1.2 or 2.1.3 which works correctly.

      Show
      Downgrade server back to 2.1.2 or 2.1.3 which works correctly.
    • Affected Branches:
      MOODLE_22_STABLE

      Description

      http://moodle.org/mod/forum/discuss.php?d=192624

      I upgraded my server to Moodle 2.2 but found the legacy course file area accessed via the file picker started pointing to System\Front page. (see image filePicker.jpg) So as a teacher I see no files.

      If I click on System I can then see categories and work my way to my course.

      The legacy course file are from the LH menu remained correct in all courses.

      No errors were reported during the upgrade I tried accessing from different browsers. I also tried the upgrade on two different servers.

      I have restored the server back to 2.1.2 and all is working properly again i.e I can see the course files area from the file picker.

      Any help appreciated.

      Replication steps:

      1. Upgraded Moodle 2.1.2 server to Moodle 2.2
      2. Go to a course
      3. Click Add a resource -> select file
      4. Click on Add
      5. Click on Legacy Course files
      6. Points to system\Front page

        Attachments

        1. 0001-MDL-30869-fix-file-picker-for-legacy-course-files.patch
          4 kB
          Adam Olley
        2. filePicker.jpg
          42 kB
          Fred Weiss
        3. Legacy course files.jpg
          87 kB
          Fred Weiss
        4. MDL_30869_2
          1 kB
          Nathan Mares
        5. MDL_30869_3.txt
          0.9 kB
          Nathan Mares
        6. MDL_30869.txt
          0.8 kB
          Nathan Mares
        7. MDL-30869_url.txt
          1 kB
          João de Amorim Junior
        8. MDL-30869.moddata.patch
          2 kB
          Ashley Holman
        9. MDL-30869.patch
          3 kB
          Chris Wharton

          Issue Links

            Activity

              People

              Assignee:
              rajeshtaneja Rajesh Taneja
              Reporter:
              fweiss Fred Weiss
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              39 Vote for this issue
              Watchers:
              29 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: