Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3054

Section download icon is not updated when all modules are downloaded.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.7.0
    • Fix Version/s: 3.7.1
    • Component/s: Courses
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a course containing 2 sections with downloadable activities
      2. Access the course in the app, and enable downloads from the context menu.
      3. Ensure all weeks/topics are selected.
      4. Using the individual module download buttons, not the section download buttons, download each module.
        1. After the last module in each section is downloaded, the section download icon should update to the green cloud with a tick.
      5. Enter a module in the first section.
      6. From the top-right context menu, delete the downloaded data for the module.
      7. Go back to the course page.
        1. The download button for the module should show the black cloud with an arrow.
        2. The download button for the section should also show the black cloud with an arrow.
        3. The download button for the other section should still show a green cloud with a tick.
      8. Enter the same module again
      9. From the top-right context menu, download the module.
      10. Go back to the course page.
        1. The download button for the module should show the green cloud with a tick.
        2. The download button for the section should also show the green cloud with a tick.
        3. The download button for the other section should still show a green cloud with a tick.
      11. In the section selector, select a single section.
      12. Repeat steps 5-10. The results should be the same.
      Show
      Create a course containing 2 sections with downloadable activities Access the course in the app, and enable downloads from the context menu. Ensure all weeks/topics are selected. Using the individual module download buttons, not the section download buttons, download each module. After the last module in each section is downloaded, the section download icon should update to the green cloud with a tick. Enter a module in the first section. From the top-right context menu, delete the downloaded data for the module. Go back to the course page. The download button for the module should show the black cloud with an arrow. The download button for the section should also show the black cloud with an arrow. The download button for the other section should still show a green cloud with a tick. Enter the same module again From the top-right context menu, download the module. Go back to the course page. The download button for the module should show the green cloud with a tick. The download button for the section should also show the green cloud with a tick. The download button for the other section should still show a green cloud with a tick. In the section selector, select a single section. Repeat steps 5-10. The results should be the same.
    • Workaround:
      Hide

      Pull-to-refresh on the course page causes the section download buttons to update to the correct state.

      Show
      Pull-to-refresh on the course page causes the section download buttons to update to the correct state.
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull Master Branch:
      MOBILE-3054_integration
    • Sprint:
      Moodle App 3.7.1

      Description

      Steps to reproduce:

      1. Create a course containing a section with some downloadable modules.
      2. Access the course in the app, and enable downloads from the context menu.
      3. View the section with downloadable modules.
      4. Download each module by clicking its download button (not using the section download button).
      5. Once they are all downloaded, the section download button still shows the "download" icon, not the "downloaded" icon.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                30/Aug/19