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

Submit button remains disabled after Excel file download

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.4.5, 4.5.1
    • Forms Library
    • MOODLE_404_STABLE, MOODLE_405_STABLE
    • 83543-xls-form-main
    • Hide

      You can call manually \core_form\util::form_download_complete(); before sending Excel file.

      Show
      You can call manually \core_form\util::form_download_complete(); before sending Excel file.
    • Hide

      Setup 1:

      1. create an empty course

      Test 1:

      1. go to grades tab
      2. in the dropdown menu grader report, select export
      3. in the dropdown menu export as, select Excel spreadsheet
      4. click on download button at the bottom right of the page
      5. accept or cancel the download
      6. ensure that the download button is not disabled
      7. press again the download button

      Test 2:

      1. download this file at the root of your Moodle instance
      2. go to the url https://<your_moodle>/test_excel.php
      3. click on Export XLS button
      4. accept or cancel the download
      5. ensure that the download button is not disabled
      6. press again the download button
      Show
      Setup 1: create an empty course Test 1: go to grades tab in the dropdown menu grader report , select export in the dropdown menu export as , select Excel spreadsheet click on download button at the bottom right of the page accept or cancel the download ensure that the download button is not disabled press again the download button Test 2: download this file at the root of your Moodle instance go to the url https://<your_moodle>/test_excel.php click on Export XLS button accept or cancel the download ensure that the download button is not disabled press again the download button
    • Hide

      Fails against automated checks.

      Checked MDL-83543 using repository: https://github.com/DSI-Universite-Rennes2/moodle/

      Should these errors be fixed?

      Built on: Mon Feb 17 07:56:01 AM UTC 2025

      Show
      Fails against automated checks. Checked MDL-83543 using repository: https://github.com/DSI-Universite-Rennes2/moodle/ main [branch: 83543-xls-form-main | CI Job ] Error: The 83543-xls-form-main branch at https://github.com/DSI-Universite-Rennes2/moodle/ is very old (>60 days ago). Please rebase against current main. Should these errors be fixed? Built on: Mon Feb 17 07:56:01 AM UTC 2025

      When you create a form that generates an Excel file, the submit button remains disabled.

      You have to reload the page if you want to download again the Excel file.

       

            jboulen Julien Boulen
            jboulen Julien Boulen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.