Bug #2191
closedhot potatoes zip file
100%
Description
In the repository, I uploaded a zip file with 4 hot potatoes exercises. (via repository - create - upload hot potatoes)
The file is uploaded, but is not unzipped in the repository. I can view only 1 exercise instead of 4.
If I upload the zip-file via repository - import - zip, the zip-file is unzipped, but the exercises are saved as document-type and not as hot potatoes exercises.
Zip file attached.
Files
Updated by Sven Vanpoucke over 12 years ago
- Status changed from New to Needs testing
- Assignee set to Sven Vanpoucke
Since hotpotatoes doesn't have metadata to state which file is the runnable file, we always scan for index.htm(l) files. This means that we can not support multiple hotpotatoes in one zip package since the system would not know what to do with this.
Updated by dominique de guchtenaere over 12 years ago
- Status changed from Needs testing to Needs more info
- Target version changed from 18 to 3
this issue has to be resolved because I need to create a zip-file even when I upload a single hot potatoes file, in which I use pictures and audio- and video files: these multimedia files are not included in the hot potatoes file itself, and need to be uploaded together with the hot potatoes file in a zip file.
All our teachers work a lot with hot potatoes, and they will prefer to stick with the old platform if this issue isn't resolved.
Updated by Sven Vanpoucke over 12 years ago
one hotpotatoes file with one htm(l) file in it works perfectly for me (even with pictures / audio / movies etc included). It's just that because hotpotatoes doesn't have a real standard we try to automatically determine what the runnable file is by searching for the index file. When multiple hotpotatoes are packaged together there is no way to define them from eachoter...
Updated by Hans De Bisschop over 12 years ago
- Target version changed from 3 to 21
Updated by Stefaan Vanbillemont about 12 years ago
- Project changed from Chamilo LCMS Connect to Repository
- Category deleted (
4)
Updated by Stefaan Vanbillemont about 12 years ago
- Target version changed from 21 to 2.1.0
Updated by Anonymous about 12 years ago
- Status changed from Needs more info to Needs testing
- Assignee changed from Sven Vanpoucke to Anonymous
- % Done changed from 0 to 100
I implemented the hotpotatoes importer.
To create multiple hot potatoe excercices you need to wrap EACH ex. in a zip file, and wrap all these zip files in another global zip file to import.
Then select Hotpotatoes as import type and upload the global zip file. That way all hotpotatoes-zipfiles inside the zip file will be converted to excercises in the repository.
Updated by dominique de guchtenaere about 12 years ago
- File zip_in_zip.zip zip_in_zip.zip added
I tested it on the Waldorf-dev installation, and there it works fine. For me this is a solution for now, but I'm sure we will get a lot of complaints from our teachers, because it isn't userfriendly enough for a teacher who has hundreds of hot potatoe exercises.
Updated by Sven Vanpoucke about 12 years ago
I believe this is the fix we agreed upon during some meetings. This is the only workable way for us to get this into the code due to the "bad standards" of hotpotatoes.
Updated by Stefaan Vanbillemont about 12 years ago
- Status changed from Needs testing to Bug resolved