Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: object[key].match is not a function #320

Closed
JPSchellenberg opened this issue Dec 13, 2019 · 1 comment
Closed

TypeError: object[key].match is not a function #320

JPSchellenberg opened this issue Dec 13, 2019 · 1 comment
Labels
released [type] bug Something isn't working (resulting in patch-version)

Comments

@JPSchellenberg
Copy link
Member

Describe the bug
The H5P-Nodejs-library throws the error TypeError: object[key].match is not a function

Environment (please complete the following information):

  • OS: all
  • Browser all
  • Nodejs-Version 10.17.0

To Reproduce
Steps to reproduce the behavior:

  1. Go to http://test.Lumi.education/
  2. Click on Open Existing H5P
  3. Click on h5p in File Browser
  4. Click on examples
  5. Click on H5P.Questionaire.h5p

Expected behavior
H5P.Questionaire.h5p should be imported & this error should not be thrown

Screenshots
Screenshot 2019-12-13 at 12 51 18

Additional context
H5P.Questionaire.h5p is imported correctly. The problem occurs when .saveH5P() is called with the parameters.

@JPSchellenberg
Copy link
Member Author

🎉 This issue has been resolved in version 0.10.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released [type] bug Something isn't working (resulting in patch-version)
Projects
None yet
Development

No branches or pull requests

1 participant