Incomplete saving of my content type data
as part of my bachelor thesis I am working on the content type H5P.RealityBox.
It should make it possible to integrate 3D models into learning environments, which can also be viewed on VR headsets and Google Cardboard using WebXR.
The corresponding github repositories can be found here:
For the creation of the editor I followed the example of H5PEditor.InteractiveVideo.
The editor works so far, but I can't handle it to save the annotations that can be added to a model. All other things like the uploaded file and other additional information are saved.
I haven't noticed anything unusual during debugging: Right before sending, all options, including those of the annotations, are written into the hidden input field "json_content" and then sent to the server. But in the MySQL table the object was stored without the key "annotations".
Does anyone have an idea what this could be. All other content types, like Interactive Video can be saved without problems.
For the development I am using Drupal 7 together with the development folder.