Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29490 META: WebDAV repository improvement
  3. MDL-33672

Filepicker truncates files' and directories' names while adding files from Webdav repository

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.3
    • Fix Version/s: None
    • Component/s: Repositories
    • Labels:
      None
    • Database:
      PostgreSQL
    • Testing Instructions:
      Hide

      1. Create (or use already existing) webdav resource with folders and files in it (or use existing one)
      2. In admin panel enable webdav repository
      3. In admin panel add repository webdav
      4. In admin panel set parameters of webdav repository
      5. Create course and add a teacher to it
      6. Click add resource or activity and select file
      7. Fillin name and Description
      8. Click add in Content section and select webdav folder defined in step 4.
      Then, folders and files with original names in wedbav resource should appear, but I see additional folder without name and other files and folders without first two letter but folders' names with backslash at the end.

      Show
      1. Create (or use already existing) webdav resource with folders and files in it (or use existing one) 2. In admin panel enable webdav repository 3. In admin panel add repository webdav 4. In admin panel set parameters of webdav repository 5. Create course and add a teacher to it 6. Click add resource or activity and select file 7. Fillin name and Description 8. Click add in Content section and select webdav folder defined in step 4. Then, folders and files with original names in wedbav resource should appear, but I see additional folder without name and other files and folders without first two letter but folders' names with backslash at the end.
    • Workaround:
      Hide

      1. Create (or use already existing) webdav resource with folders and files in it
      2. In admin panel enable webdav repository
      3. In admin panel add repository webdav
      4. In admin panel set parameters of webdav repository
      5. Create course and add a teacher to it
      6. Click add resource or activity and select file
      7. Fill name and Description
      8. Click add in Content section and select webdav folder defined in step 4.
      You should see folders and names with their original names

      Show
      1. Create (or use already existing) webdav resource with folders and files in it 2. In admin panel enable webdav repository 3. In admin panel add repository webdav 4. In admin panel set parameters of webdav repository 5. Create course and add a teacher to it 6. Click add resource or activity and select file 7. Fill name and Description 8. Click add in Content section and select webdav folder defined in step 4. You should see folders and names with their original names
    • Affected Branches:
      MOODLE_23_STABLE

      Description

      While adding a file from webdav repository, files' and folders' names has truncated two first letters on the beginning. Also additional folder without name appears.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fred Frédéric Massart
              Reporter:
              adamtpaw Adam Pawelczak
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: