We have had reports that when creating or updating a H5P Content module, the content is getting duplicated.
This seems to happen because the platform takes quite some time to process creating or updating a large, complex H5P module, and as such, can lead to confusion around whether the author pressed the publish or update button, hence pressing it more than once.
We propose 2 steps to this fix;
- Disable the publish/update button immediately after it has been pressed so that an unintentional-or-otherwise second click can not happen (which is what creates the duplicate content), and
- Analyze the performance of publishing and creating complex H5P content to determine where the slowness is happening, and then either modify our platform accordingly, or help the main H5P creators improve the performance of the database queries that are happening behind the scenes when an author presses publish or update
For now, please only press the publish or update button once, when working on your H5P content.
Updates on Mar 21st 2022: Related to 1) above. The publish/update button has been disabled immediately after form submission.