-
Bug
-
Resolution: Fixed
-
Minor
-
2.9
-
-
MOODLE_29_STABLE
-
MOODLE_29_STABLE
Steps to reproduce:
- In the app, go to a course and download a SCORM package. Don't leave the course contents view.
- In Moodle, update the package and use a ZIP with a different name.
- In the app, enter the SCORM, do a Pull To Refresh and go back to course contents view. Check that you see the refresh icon.
- Click the refresh icon. Check that an error is shown.
This is because the SCORM course content handler calls getScorm when it's loaded, not when the download button is clicked. This causes that the URL used when the refresh button is clicked is the old one, so the download fails because the package isn't found. If you leave the view and load it again everything works fine.