- Issue created by @rehm
- Assigned to abhishek_virasat
- Issue was unassigned.
- Status changed to Needs review
9 months ago 9:41am 28 February 2024 - 🇮🇳India abhishek_virasat
@rehm, fixed the issue created Patch . please review it.
- 🇺🇸United States tedbow Ithaca, NY, USA
@rehm did you install the module via Composer? Can provide your composer lock file? I wondering if there is some problem with your version of php-tuf/composer-stager for some reason.
@abhishek_gupta1 thanks for the patch but first we need to figure why there is boolean instead of string provide instead of just throwing an exception.
- Status changed to Needs work
9 months ago 3:59pm 28 February 2024 - 🇺🇸United States tedbow Ithaca, NY, USA
I wondering if the problem comes from
\Drupal\package_manager\PathExcluder\SiteFilesExcluder::excludeSiteFiles
if ($this->fileSystem->isAbsolutePath($path)) { $event->addPathsRelativeToProjectRoot([realpath($path)]); }
realpath()
could return a false - 🇺🇸United States tedbow Ithaca, NY, USA
@rehm this could be caused by your private or public file settings point to path that does not exist. These are usually set in setting.php . $settings['file_public_path'] or $settings['file_private_path'] you can check the current values at admin/config/media/file-system
I set
$settings['file_private_path'] = '/not/here';
and it caused the same error you experienced.
@rehm can you check these paths and see if they point to real paths?
- Status changed to Needs review
9 months ago 11:58pm 28 February 2024 - Assigned to phenaproxima
- Assigned to tedbow
- Status changed to Needs work
9 months ago 1:55pm 4 March 2024 - 🇺🇸United States phenaproxima Massachusetts
One request (we should use the file_system service's realpath() function), otherwise RTBC from me. We might want to also add an @see to the test, or maybe a more expansive comment, to explain what's going on.
- Assigned to phenaproxima
- Status changed to Needs review
9 months ago 2:51am 6 March 2024 - Status changed to RTBC
9 months ago 3:31am 6 March 2024 - Status changed to Fixed
9 months ago 4:10am 6 March 2024 Automatically closed - issue fixed for 2 weeks with no activity.