Course presentation activities not loading after refreshing the page
Dear H5p team,
Following the last update you did of the Course presentation activity, I have come across with a problem that happens in the course presentation activities I have created, both in Moodle and in Wordpress.
After I go through the activities in the course presentation and I reach the summary slide, if I refresh the page, the course presentation activity does not load again. It just comes as an empty grey frame in Wordpress and in Moodle as a blank page (see screenshots).
At first, I thought it could be related to a problem with the Moodle settings but when I uploaded the activity in my Wordpress site and it did the same I thought this could be a bug since it started happening just after the last 15th of Agust release (2019).
I tried to clear the cache, signed with a different user account to see if the activity at least loads when a different user is logged in. I also tried using different browsers, chrome, safari, and Mozilla and enable/disable the Show "Show solution/retry" button in the summary slide' buttons, but it happens, either way, once the activity is performed once, it won't load again.
To get the activity to load again I need to go to edit mode, save the activity again and then the activity loads again showing the message: 'This content has changed since you last used it. You'll be starting over.'
Please notice that this issue seems to happen randomly, sometimes you refresh the page and the activity loads but sometimes it doesn't. I have been trying to find a logic to it, but I can't find a common pattern. It seems to especially take place when you go through every single slide of the presentation until the end and right after reaching the summary slide refresh the page.
I thought it could be that it was doing it because I refresh the page just straight away after completing the presentation but I also tried to give it a bit of time, complete the whole presentation and then move on to do different activities and then come back to the main course page and click on the activity and again it won't load.
I am a bit worried because this means that once one student has had a go at completing the activity, since the course presentation won't load any more, no more students will be able to access it, at least I keep going to editing mode and saving the activity over and over again.
I am not sure why this could be happening, but like I said it started behaving like this once I updated the plugin and the content libraries in the last 15th of August update, both in Moodle and in Wordpress.
Thanks for your help.