Problem to Reuse own H5P Libary

Forums: 

Hi,

I developed my own Content Type libary (H5P.TIQuestions). When I test it in Drupal 7 i can create new Content and everything works fine. Know I used the "Reuse" function to download the .h5p file. When I upload the .h5p file to moodle or drupal 7 again i get  the folowing error message:

Validating h5p package failed.

  • The required property machineName is missing from H5P.TIQuestions-1.0
  • The required property majorVersion is missing from H5P.TIQuestions-1.0
  • The required property minorVersion is missing from H5P.TIQuestions-1.0

I don't understand it, because in the folder H5P.TIQuestions-1.0 inside the .h5p there is a libary.json with all these three properties. And the h5p.json has the same three properties for H5P.TIQuestions-1.0 in the "preloadedDependencies" . I uploaded the h5p.json from the .h5p file and library.json of the H5P.TIQuestions-1.0 folder insite the .h5p file.

Hope someone has an Idea what im doing wrong.

Chers,

Yannik

 

 

Attachments: 
otacke's picture

Hi!

Please remove the empty dynamic dependencies.

Best,

Oliver 

Hi otacke,

once again you saved me. Thank you soo much!

Best,

Yannik