Details
-
Bug
-
Resolution: Fixed
-
High
-
5.1, 5.2, 2014.01
-
Windows 7, Windows 8
-
Ventoux Sprint 3
Description
Cache paths generated by eZ Publish needs to be shorter for UserHandler::loadRoleAssignmentsByGroupId().
The path generated by stash is too long for windows systems. Windows is of course not a target plattform, but this is one blockers why eZ is not running von windows.
<?php
// Warning: vendor/tedivm/stash/src/Stash/Driver/FileSystem.php line 186 - mkdir(): Invalid path
// Test path exists, works
mkdir( 'C:/workspace/ez5/ezpublish-community/ezpublish/cache/prod/stash/0fea6a13c52b4d47/25368f24b045ca84/a1e4f174919d040af6d06113d677c9e0/ee11cbb19052e40b/07aac0ca060c23ee/29a7e96467b69a9f/5a93332e29e9b0de/17b32329e5419153/7595822b7b2794a3', 0777, true);
// Invalid, but real eZ Publish cache path, too long doesn`t work
mkdir( 'C:/workspace/ez5/ezpublish-community/ezpublish/cache/prod/stash/0fea6a13c52b4d47/25368f24b045ca84/a1e4f174919d040af6d06113d677c9e0/ee11cbb19052e40b/07aac0ca060c23ee/29a7e96467b69a9f/5a93332e29e9b0de/17b32329e5419153/7595822b7b2794a3/a8b43746d096f4c3/7974afede1b81dcb/f3b050372bef406e', 0777, true);