Course copy tile images corrupt

Issue #127 new
Chris Loweth created an issue

We currently run the following Moodle environment:

Moodle: 3.9.12

Tiles format: 3.9.0.13 (2020080613)

We are experiencing an irregular issue where when we sometimes copy a Moodle course that uses Tiles format sometimes the newly created course does not have the tile pictures of the source course.

We have created a template course - it has a number of sections where each tile has a picture. If we use Moodle’s built-in “Copy course” function we sometimes receive the new course without the tile images. Sometimes we can copy the same course and the images work as expected.

The issue is not limited to the built-in “Copy course” functionality. We make significant use of Moodle’s webservices to provide an automated course cloning system via an intranet. The issue also occurs, again sporadically, using core_course_duplicate_course.

We can see database entries for the tile pictures, however they are reported as significantly smaller filesizes than their working counterparts on other working courses. For example a tile may have a 20kb image on a wroking course, however the identical tile on the copied course shows as only being 690bytes - Firefox complains that the image cannot be loaded because it contains errors.

We are at a loss as to how we can begin troubleshooting this as the issue appears sporadic.

Any ideas that might help us in our quest?

We are aware that our Tiles plugin should be updated to the latest version for our Moodle, however looking at version.php it only has a minimum requirement of Moodle 3.8. 3.11.1.3 also has the same minimum requirement. This leads us to believe that, although 3.9.0.13 is not recommended, but it is still compatible with Moodle 3.9.

Thank you

Comments (0)

  1. Log in to comment