Closed (fixed)
Project:
H5P - Create and Share Rich Content and Applications
Version:
2.0.0-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Sep 2022 at 10:14 UTC
Updated:
1 Sep 2025 at 23:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sokru commentedThis should work both with and without Paragraphs/IEF etc.
Comment #3
jhuhta commented#2 was not quite enough. The problem with the Paragraphs use seems to be that the H5P module expects the field name to be unique, and that's not the case if H5P is a paragraph type. This patch should fix it.
This one also contains an idea from #3308102: Indication of uploaded .h5p file, but it didn't quite work standalone without this one either.
Comment #4
illeace commentedThis patch still applies as of the release of 2.0.0-alpha6, and seems to fix the problem indicated. I did a bit of testing using the H5P file upload widget within a paragraph and also in a standard node, using single and mulit-value fields. Everything I tried worked. Marking RTBC.
Comment #6
sim_1Comment #7
sim_1Created a MR and tried to copy over all the changes from the patch file. I'll double-check that they look the same before merging.
Comment #10
sim_1Great! Thanks, all! Merged and marking as fixed.