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

Url repository: remove duplicate images, resolve image path correctly

    Details

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

      1. Enable URL repository
      2. Open file picker (from any text editor) and try to type URL addresses, make sure that all images are displayed and are not duplicated. Note that images found in CSS files are displayed but they may not be present on the page.
      3. Test picking file from repository with Javascript disabled

      Show
      1. Enable URL repository 2. Open file picker (from any text editor) and try to type URL addresses, make sure that all images are displayed and are not duplicated. Note that images found in CSS files are displayed but they may not be present on the page. 3. Test picking file from repository with Javascript disabled
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull Master Branch:
      wip-MDL-31928-master

      Description

      URL repository:

      • lists the same image several times if it occurs several times on the page
      • does not correctly resolve image path if it has a query string
      • images in included CSS files are not shown
      • non-JS file picker ignores thumbnail width and height attributes

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

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