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

"Download all" in Privates files failed with javascript error (IE 8 & 9)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Files API
    • Labels:
    • Environment:
      Windows 2008 Server, IIS 7.5, PHP 5.3.2, MySQL 5.1.58
    • Database:
      MySQL
    • Testing Instructions:
      Hide

      Requisites:

      1. Go to your private files, upload a couple of files and save.
      2. To be tested on all supported browsers

      Test steps:

      1. Go to your private files, click on download all
      2. Make sure the file can be downloaded
      Show
      Requisites: Go to your private files, upload a couple of files and save. To be tested on all supported browsers Test steps: Go to your private files, click on download all Make sure the file can be downloaded
    • Workaround:
      Hide

      Don't use IE....

      Show
      Don't use IE....
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-31499-master-iframe

      Description

      When using IE (tested with version 8 & 9), users cannot use the "Dowload all" button in the Privates files. They got a javascript error "invalid argument" instead of the usual download pop-up. This works well however with Firefox or Chrome.

      Replication steps:

      1. User is admin
      2. Add a private files block
      3. Click "Manage my privates files"
      4. Upload a file
      5. Click button "Download all"

      The progress icon appear but seem to reset in loop.

      A javascript error icon shows up in the corner, with this detail:

      Détails de l'erreur de la page Web
       
      Agent utilisateur : Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.1; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E; BRI/2)
      Horodateur : Fri, 3 Feb 2012 21:42:17 UTC
       
      (the error bellow occur many time in loop)
       
      Message : Argument non valide.
      Ligne : 15
      Caractère : 168
      Code : 0
      URI : http://xyz.com/lib/javascript.php?file=%2Flib%2Fform%2Ffilemanager.js&rev=479

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  3 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

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