- πΊπΈUnited States illeace
Using Drupal 11 and 2.0.0-alpha6, I am able to follow these steps and the upgrade-confirm page successfully loads (no error messages on the screen or in the developer console. Does this still happen for you?
After installing a new activity type we can no longer edit old activities that use the old version - you click save in the editor and the page refreshes but the changes aren't saved. I recall this happening before and upgrading the content to the newer installed version fixed the issue.
However we are unable to upgrade the content. We get the message "Please enable JavaScript." on the page after clicking the green upgrade arrow.
1. Install a new version of a content type (in our case it was Column 1.15.2)
2. Browse to /admin/content/h5p and find the old previous version content has a green upgrade arrow. (in our case it is for Column (1.13.1))
3. Click the upgrade arrow and get taken to /admin/content/h5p/libraries/157/upgrade-confirm with the message:
Upgrade Column (1.13.1) content
Please enable JavaScript.
In the developer console we have the following error:
h5p.js?v=1.0:997 Uncaught TypeError: Cannot read properties of undefined (reading 'l10n')
at H5P.t (h5p.js?v=1.0:997:22)
at HTMLDocument.<anonymous> (h5p.js?v=1.0:2717:18)
at c (jquery.js?v=1.9.1:2:7857)
at Object.fireWith [as resolveWith] (jquery.js?v=1.9.1:2:8658)
at Function.ready (jquery.js?v=1.9.1:2:3266)
at HTMLDocument.H (jquery.js?v=1.9.1:2:695)
Looking at that line it is trying to access:
if (H5PIntegration.l10n[ns] === undefined) {
return '[Missing translation namespace "' + ns + '"]';
}
I edited the file and the line before did a "console.log(H5PIntegration);" however the variable is undefined.
Any ideas how we can get this fixed?
Thanks.
Active
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Using Drupal 11 and 2.0.0-alpha6, I am able to follow these steps and the upgrade-confirm page successfully loads (no error messages on the screen or in the developer console. Does this still happen for you?