Open tmkarlsen opened 11 months ago
Looks like you are upgrading to 1.14, but which patch version?
I'm trying to update to 1.14.15
Looking at the upgrades script it seems like all errors are due to issues with the content.
reading 'task'
error don't have any questions defineddropzone.correctElements.filter is not a function
error occurs if it's not an arrayThese issues could be corrected in the upgrade script or a checks could be added to prevent errors. In previous upgrades, like the one to 1.13, the code checks if 'questions' exists before trying to access it, this is not done in the 1.14 upgrade.
Bulk update fails for drag and drop When trying to bulk update H5P.DragQuestion 1.13.15, all content fails with on of the two error messages below
Request URL: https://ca.h5p-test.ndla.no/content/upgrade/library?library=/H5P.DragQuestion/1/14
Error messages An error occurred while processing parameters: Cannot read properties of undefined (reading 'task')
An error occurred while processing parameters: dropzone.correctElements.filter is not a function
Screenshots