Project

General

Profile

Bug #2191

hot potatoes zip file

Added by dominique de guchtenaere over 9 years ago. Updated over 8 years ago.

Status:
Bug resolved
Priority:
High
Assignee:
-
Target version:
Start date:
21/10/2010
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal

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

dialogo_formale.zip (35.3 KB) dialogo_formale.zip dominique de guchtenaere, 21/10/2010 14:52
zip_in_zip.zip (19.1 KB) zip_in_zip.zip dominique de guchtenaere, 19/05/2011 14:45

History

#1

Updated by Sven Vanpoucke about 9 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.

#2

Updated by dominique de guchtenaere about 9 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.

#3

Updated by Sven Vanpoucke about 9 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...

#4

Updated by Hans De Bisschop about 9 years ago

  • Target version changed from 3 to 21
#5

Updated by Stefaan Vanbillemont almost 9 years ago

  • Project changed from Chamilo LCMS Connect to Repository
  • Category deleted (4)
#6

Updated by Stefaan Vanbillemont almost 9 years ago

  • Target version changed from 21 to 2.1.0
#7

Updated by Anonymous over 8 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.

#8

Updated by dominique de guchtenaere over 8 years ago

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.

#9

Updated by Sven Vanpoucke over 8 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.

#10

Updated by Stefaan Vanbillemont over 8 years ago

  • Status changed from Needs testing to Bug resolved

Also available in: Atom PDF