Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-32999 META: Files UI Stage 2 polishing in master
  3. MDL-33452

It must not possible to create an alias to another alias

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Filepicker, Files API
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. Enable box.net repository (requires configuration)
      2. Upload a file to your box.net account
      3. Go to my private files
      4. Choose the file from the box.net repository
      5. Choose 'create an alias/shortcut'
      6. Save Changes
      7. Go to a course, create a new file resource
      8. Choose the private files repository and choose the file from your private files area which you just aliased from box.net. Test 1: choose it as a copy
      9. Make sure the copy of the file appeared (no link icon in filemanager)
      10. Test 2: choose file as an alias, select "Rename" if name conflict occurs
      11. Make sure the file is an alias (link icon in filemanager) and when you click on the file, it shows that original is in Box.net (and not in private files)
      Show
      Enable box.net repository (requires configuration) Upload a file to your box.net account Go to my private files Choose the file from the box.net repository Choose 'create an alias/shortcut' Save Changes Go to a course, create a new file resource Choose the private files repository and choose the file from your private files area which you just aliased from box.net. Test 1: choose it as a copy Make sure the copy of the file appeared (no link icon in filemanager) Test 2: choose file as an alias, select "Rename" if name conflict occurs Make sure the file is an alias (link icon in filemanager) and when you click on the file, it shows that original is in Box.net (and not in private files)
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull Master Branch:
      wip-MDL-33452-master

      Description

      See http://moodle.org/local/chatlogs/index.php?conversationid=10297#c358057 and http://moodle.org/local/chatlogs/index.php?conversationid=10308#c358427

      When an alias is picked in the filepicker, we must not create a new alias to it. Instead, we need to make sure that the picked file links to the original external file.

        Attachments

          Activity

            People

            Assignee:
            marina Marina Glancy
            Reporter:
            mudrd8mz David Mudrák (@mudrd8mz)
            Integrator:
            Dan Poltawski
            Tester:
            Tim Barker
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              25/Jun/12