In Pantheon environments, it seems the method the H5P module uses to copy directories is not allowed - see http://helpdesk.getpantheon.com/customer/portal/articles/745361-known-li... . This results in a series of warnings when a user uploads a .h5p library to the site, along the lines of

Warning: rename(/srv/bindings/[binding]/files/h5p/temp/h5p-54aad10dc14ad/H5P.Timeline,sites/default/files/h5p/libraries/H5P.Timeline-1.0): Input/output error in H5PStorage->savePackage() (line 1267 of /srv/bindings/[binding]/code/sites/all/modules/contrib/h5p/library/h5p.classes.php).
Warning: rename(/srv/bindings/[binding]/files/h5p/temp/h5p-54aad10dc14ad/TimelineJS,sites/default/files/h5p/libraries/TimelineJS-1.0): Input/output error in H5PStorage->savePackage() (line 1267 of /srv/bindings/[binding]/code/sites/all/modules/contrib/h5p/library/h5p.classes.php).

Because the library is never moved to the correct location, creating a H5P content item results in an empty node and several 404 warnings, basically rendering H5P nonfunctional on Pantheon websites.

For reference, this issue https://www.drupal.org/node/2238209 seems to be dealing with the exact same limitation.

CommentFileSizeAuthor
#1 h5p-pantheon-move-file-2402099-1.patch607 bytesdrinkdecaf

Comments

drinkdecaf’s picture

StatusFileSize
new607 bytes

This seems to fix the issue for us.

icc’s picture

Assigned: Unassigned » icc
Status: Active » Needs review
falcon’s picture

Status: Needs review » Fixed

This has now been added to 7.x-1.x-dev and will be a part of our next release

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.