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

Impossible to paste a Course Presentation because of clipboard version (1.22) lower than environment (1.25) #2632

Open
pamodeo-icb opened this issue Oct 10, 2023 · 0 comments
Labels
[type] bug Something isn't working (resulting in patch-version)

Comments

@pamodeo-icb
Copy link

pamodeo-icb commented Oct 10, 2023

Describe the bug
After opening and copying a "Course Presentation" produced with a previous version of the libraries, paste is not allowed.
Saving the file and reopening does not solve the problem.

Environment (please complete the following information):

  • OS: Windows 11
  • Lumi Version 0.10.0.0

To Reproduce
Steps to reproduce the behavior:

  1. Open a file containing a Course Presentation" produced with a previous version of Lumi (probably 0.9.4) and libraries
  2. Click on 'copy'
  3. Try to paste (in the same or in another h5p file, even a newly created empty file)
  4. "Paste" button is inactive and hovering on it with the pointer produce this message: "The content in the H5P clipboard is of a lower version (1.22) than what it is supported in this context (1.25), if it is possible, try to have the content you want to paste upgraded, copy it again and try pasting it here".

Saving the file within the new version of Lumi and with the last version of all libraries loaded does not fix the issue.

Expected behavior
The Course Presentation should be pasted in the same or in another file.

Screenshots
No meaningful screenshot is available.

Additional context
The related libs currently listed in the Settings/Libraries section of Lumi are:
Course Presentation 1.24.14
Course Presentation 1.25.9
Course Presentation Editor 1.22.4
Course Presentation Editor 1.24.5
Course Presentation Editor 1.25.4
Neither of them can be removed

The Course Presentation file can be played, edited and saved under Lumi 0.10.0.0, but the problem still persists when trying to copy and paste the new file.
Cheating by editing the h5p.json embedded into the h5p file of the Course Presentation and replacing subversion 22 with 25 produces a file that can be copied and pasted, but is only partly functional, since, e,g., the "Drag the word" or "Fill the blank" contents are not visible, nor functional, and they cannot be edited.

@pamodeo-icb pamodeo-icb added the [type] bug Something isn't working (resulting in patch-version) label Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[type] bug Something isn't working (resulting in patch-version)
Projects
None yet
Development

No branches or pull requests

1 participant