I'm getting an error when this module is installed:

The specified file temporary://fileJ9P0fg could not be moved/copied  [error]
because the destination directory is not properly configured.

This error doesn't actually appear to be fatal, but is causing configuration import (when the module is freshly enabled) to fail, which is causing our CI builds to fail. It appears to be coming from google_tag_install(), which attempts to save snippets to a directory that hasn't been created yet.

CommentFileSizeAuthor
#2 google_tag-install_error.patch607 bytesrbayliss
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rbayliss created an issue. See original summary.

rbayliss’s picture

Status: Active » Needs review
FileSize
607 bytes
solotandem’s picture

Status: Needs review » Closed (duplicate)

Duplicate of #2879444: Module installation does not work when enabled through config synchronization. The problem would seem to be the installer code does not do what core does, i.e check hook_requirements(). These installers would fail to install core as it does exactly the same thing (creates directory in hook_requirements() not in hook_install()).