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

Picking a server file marked as "main" makes it main in new filearea

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3.1
    • Component/s: Filepicker
    • Labels:
      None
    • Testing Instructions:
      Hide

      1. Create a file resource, add file and mark it as main. Save it
      2. Create a folder resource, open filepicker, Server files and pick a file created in #1 (try both picking as a copy and by reference)
      3. Make sure picked file is not displayed in filemanager with bold (which means "main file")

      Show
      1. Create a file resource, add file and mark it as main. Save it 2. Create a folder resource, open filepicker, Server files and pick a file created in #1 (try both picking as a copy and by reference) 3. Make sure picked file is not displayed in filemanager with bold (which means "main file")
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull Master Branch:
      wip-MDL-33837-master

      Description

      1. Create a file resource, add file and mark it as main. Save it
      2. Create a folder resource, open filepicker, Server files and pick a file created in #1
      It is displayed bold as if it was main (there is no "main file" functionality in folder resource)

      The field 'sortorder' should not be copied when file is picked by reference.

        Attachments

          Activity

            People

            Assignee:
            marina Marina Glancy
            Reporter:
            marina Marina Glancy
            Integrator:
            Dan Poltawski
            Tester:
            Jason Fowler
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              9/Jul/12