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

The Atto manage files plugin is buggy in theme_boost

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2.1
    • Component/s: HTML Editor (Atto)
    • Labels:
    • Testing Instructions:
      Hide
      1. Have a zip file with images in it ready.
      2. Make sure that you are using theme_boost.
      3. Go to any moodle page that uses the Atto editor and click the manage files button.
      4. upload the zip file.
      5. Click that file and then select Unzip.
      6. Close the manage files window.
      7. Now select an image that was unzipped.
        1. In the file picker the unzipped images should be under "Embedded files"
      8. Save the page.
      9. Go back to the same page and click the manage files button again.
      10. The page should show all of the files that were uploaded. If you look at the JavaScript console you should not see any errors.
      11. Test in clean to make sure there is no regression.
      Show
      Have a zip file with images in it ready. Make sure that you are using theme_boost. Go to any moodle page that uses the Atto editor and click the manage files button. upload the zip file. Click that file and then select Unzip. Close the manage files window. Now select an image that was unzipped. In the file picker the unzipped images should be under "Embedded files" Save the page. Go back to the same page and click the manage files button again. The page should show all of the files that were uploaded. If you look at the JavaScript console you should not see any errors. Test in clean to make sure there is no regression.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-57299-master

      Description

      This issue is an edge case. Here are the replication steps.

      1. Have a zip file with images in it ready.
      2. Make sure that you are using theme_boost.
      3. Go to any moodle page that uses the Atto editor and click the manage files button.
      4. upload the zip file.
      5. Click that file and then select Unzip.
      6. Close the manage files window.
      7. Now select an image that was unzipped.
        1. In the file picker the unzipped images should be under "Embedded files"
      8. Save the page.
      9. Go back to the same page and click the manage files button again.
      10. You will see a circle spinning around, but the page won't finish loading. If you look at the JavaScript console you will see an error.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                abgreeve Adrian Greeve
                Reporter:
                abgreeve Adrian Greeve
                Peer reviewer:
                cameron1729
                Integrator:
                Dan Poltawski
                Tester:
                Ryan Wyllie
                Participants:
                Component watchers:
                Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Jan/17