H5P Image Uploads Dissappear After Save Function
- Status
- Pending
- Subject
- H5P Image Uploads Dissappear After Save Function
- Version
- 19.x
- Category
- Bug
- Feature
- H5P
- Resolution status
- Confirmed
- Submitted by
- John Morris
- Keep informed
- Jonny Bradley, Torsten Fabricius
- Lastmod by
- John Morris
- Rating
- Related-to
- Description
In my 19.2 (svn) it appears the H5P application is working beautifully, at first. I can initiate an application, edit it, upload images to the application, but when it comes time to save the application and display it, the images do not appear. If I go back to the application and edit it, the images have dissappeared.
This may be unique to my own installation of tiki, I will create a show instance here, and see if it is only my installation, or if it truly is a bug.I reproduced it on my own Tiki.If you would like to see what I am seeing on my own test installation, you can go to
http://tpwtestuser.com/tikisvn/HomePageupdated link: https://tiki22.tpwtestuser.com/tiki-index.php
User: admin
Pass: 12345- Solution
At the first save time the images need to be moved/copied from
storage/public/h5p/editor/images/tostorage/public/h5p/content/XY/images/where XY is a number (should be a newly created dir) as the created H5P type is looking for them there for displaying and/or editing.- Workaround
If you save the H5P object first, you need to edit it, re-upload the images and after another save it finally works.
I just did some upgrades and fixes for H5P in branch 22.x and trunk - if they seem good i'll backport them all to 21.x, hopefully the various issues regarding uploading files are now resolved (there was quite a lot of code missing!)
- Importance
- 8
- Easy to solve?
- 8
- Priority
- 64
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 7025
- Created
- Thursday 14 February, 2019 12:13:33 UTC
by John Morris - LastModif
- Sunday 27 December, 2020 16:44:21 UTC