Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20923

Fatal errors on Windows stash fails with mkdir(): Invalid path

    XMLWordPrintable

    Details

    • Sprint:
      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);

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                xrow Björn Dieding@xrow.de
              • Votes:
                2 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 30 minutes
                  2d 30m