Course Presentation - Downloads with Drop and Drag (the one that allows media to be uploaded)
Hi there!
I've ran into an interesting bug for H5P on WP.
If you create a course presentation that contains a drop and drag element (the ones you can upload pictures and create target drag areas), and then download it...and then later attempt to re-upload to H5P running the 12-06-2016 release, the .h5p file will not re-upload and is rendered corrupted.
I have h5p running on two different sites, it uploaded fine with the drag and drop in the course presentation on the H5p version released on 11-23-2016, but something changed with the 12-06-2016 update.
For some reason, if you create a course presentation with contains a drop and drag, download it, then later try to re-upload...it gets destroyed by the mere fact that once you had a drop and drag contained in the file. Even if you go back to the initial file you tried to download, delete the drop and drag element, then download again, then try to re-upload without any drop and drag now existing...the problem still persists. The file is absolutely corrupted.
Don't know if anyone knows of this issue, but would encourage anyone to create a simple course presentation, add a drop and drag, then see if you can download, then re-upload on WP. I have tried on two different sites on two different servers and got the same result on WP.
Hope this helps!
Timothy
febster
Sun, 01/08/2017 - 13:22
Permalink
The Corrupted File
Here's the corrupted file.
tim
Mon, 01/09/2017 - 10:21
Permalink
Hi Timothy, thanks for the
Hi Timothy, thanks for the extremely detailed write up :)
Just to clarify, these are the steps taken to reproduce the bug:
Would you also be able to attach the uncorrupted file to this thread?
Cheers
febster
Tue, 01/10/2017 - 01:05
Permalink
Here's what I mean...
Here's what I mean:
Basically, due to limited copy and pasting currently in H5P, I've created course presentation templates for myself, which I was downloading then re-uploading. Some of these had the drop and drag element, which I systematically determined was the only different if files uploading and not uploading. Still could be wrong about this, but I pretty sure I narrowed down on this issue. Just wondering if anyone else can repeat this.
Cheers,
Timothy
febster
Tue, 01/10/2017 - 01:06
Permalink
Uncorrupted File
Here's the uncorrecupted file...Basically it's what I want, minus the inclusion of the drop and drag element.
tim
Thu, 01/12/2017 - 14:11
Permalink
Hi Timothy, both the
Hi Timothy, both the corrupted and uncorrupted files can be uploaded on my local wordpress.
Would you be able to try it maybe with a fresh WP install? That's what I did and it seemed to work.
febster
Thu, 01/12/2017 - 23:20
Permalink
Thanks!
Yes, it seems to work now. Very curious. Thank you much for the tip! Hopefully, smooth sailing from here on out!
tim
Fri, 01/13/2017 - 09:39
Permalink
Yep, seems little strange.
Yep, seems little strange. Write in if you have any other problems!