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

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

    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);

        Issue Links

          Activity

          Björn Dieding@xrow.de created issue -
          Gaetano Giunta (Inactive) made changes -
          Field Original Value New Value
          Link This issue is duplicated by EZP-20967 [ EZP-20967 ]
          André Rømcke made changes -
          Summary vendor/tedivm/stash/src/Stash/Driver/FileSystem.php line 186 - mkdir(): Invalid path Fatal errors on Windows stash fails with mkdir(): Invalid path
          André Rømcke made changes -
          Status Open [ 1 ] Backlog [ 10000 ]
          André Rømcke made changes -
          Link This issue is duplicated by EZP-20875 [ EZP-20875 ]
          Jérôme Vieilledent (Inactive) made changes -
          Priority Blocker [ 1 ] High [ 3 ]
          Component/s Caching [ 10786 ]
          Component/s Documentation [ 10793 ]
          André Rømcke made changes -
          Rank Ranked higher
          André Rømcke made changes -
          Remaining Estimate 2 hours [ 7200 ]
          André Rømcke made changes -
          Original Estimate 2 hours [ 7200 ]
          André Rømcke made changes -
          Rank Ranked higher
          André Rømcke made changes -
          Sprint Ventoux Sprint 3 [ 24 ]
          André Rømcke made changes -
          Rank Ranked higher
          André Rømcke made changes -
          Rank Ranked higher
          André Rømcke made changes -
          Status Backlog [ 10000 ] InputQ [ 10001 ]
          André Rømcke made changes -
          Assignee Sarah Haïm-Lubczanski [ sahra.haim-lubczanski@ez.no ]
          Sarah Haïm-Lubczanski (Inactive) made changes -
          Assignee sahra.haim-lubczanski@ez.no Sarah Haïm-Lubczanski [ sarah.haim-lubczanski@ez.no ]
          Sarah Haïm-Lubczanski (Inactive) made changes -
          Status InputQ [ 10001 ] Documentation [ 10010 ]
          Sarah Haïm-Lubczanski (Inactive) made changes -
          Remaining Estimate 2 hours [ 7200 ] 0 minutes [ 0 ]
          Time Spent 4 hours [ 14400 ]
          Worklog Id 44979 [ 44979 ]
          Sarah Haïm-Lubczanski (Inactive) made changes -
          Status Documentation [ 10010 ] Documentation done [ 10011 ]
          Affects Version/s 5.2 [ 12582 ]
          Affects Version/s 5.1 [ 11280 ]
          Affects Version/s Future [ 11071 ]
          Sarah Haïm-Lubczanski (Inactive) made changes -
          Status Documentation done [ 10011 ] Documentation [ 10010 ]
          Sarah Haïm-Lubczanski (Inactive) made changes -
          Status Documentation [ 10010 ] Documentation done [ 10011 ]
          Joao Pingo (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Sarah Haïm-Lubczanski [ sarah.haim-lubczanski@ez.no ] Joao Pingo [ joao.pingo@ez.no ]
          Joao Pingo (Inactive) made changes -
          Status QA [ 10008 ] Development Acceptance Done [ 10030 ]
          Joao Pingo (Inactive) made changes -
          Status Development Acceptance Done [ 10030 ] Documentation [ 10010 ]
          Joao Pingo (Inactive) made changes -
          Status Documentation [ 10010 ] Documentation done [ 10011 ]
          Joao Pingo (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Joao Pingo (Inactive) made changes -
          Status QA [ 10008 ] InputQ [ 10001 ]
          Assignee Joao Pingo [ joao.pingo@ez.no ]
          Joao Pingo (Inactive) made changes -
          Time Spent 4 hours [ 14400 ] 1 day, 1 hour, 30 minutes [ 34200 ]
          Worklog Id 45010 [ 45010 ]
          Gaetano Giunta (Inactive) made changes -
          Link This issue is duplicated by EZP-20875 [ EZP-20875 ]
          Gaetano Giunta (Inactive) made changes -
          Link This issue is duplicated by EZP-21950 [ EZP-21950 ]
          Yannick Roger (Inactive) made changes -
          Link This issue relates to EZP-22415 [ EZP-22415 ]
          Jérôme Vieilledent (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Assignee Jérôme Vieilledent [ jerome.vieilledent@ez.no ]
          Jérôme Vieilledent (Inactive) made changes -
          Status Development [ 3 ] Documentation done [ 10011 ]
          Affects Version/s 2014.01 [ 12882 ]
          Affects Version/s Future [ 11071 ]
          Fix Version/s 5.3 [ 11282 ]
          Fix Version/s 5.1 Maintenance [ 12301 ]
          Fix Version/s 5.2 Maintenance [ 12782 ]
          Fix Version/s 2014.03 [ 13281 ]
          Jérôme Vieilledent (Inactive) made changes -
          Status Documentation done [ 10011 ] Documentation [ 10010 ]
          Jérôme Vieilledent (Inactive) made changes -
          Status Documentation [ 10010 ] InputQ [ 10001 ]
          Assignee Jérôme Vieilledent [ jerome.vieilledent@ez.no ]
          Jérôme Vieilledent (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Assignee Jérôme Vieilledent [ jerome.vieilledent@ez.no ]
          Jérôme Vieilledent (Inactive) made changes -
          Comment [ A comment with security level 'Employees' was removed. ]
          Jérôme Vieilledent (Inactive) made changes -
          Status Development [ 3 ] Documentation done [ 10011 ]
          Joao Pingo (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Jérôme Vieilledent [ jerome.vieilledent@ez.no ] Joao Pingo [ joao.pingo@ez.no ]
          Joao Pingo (Inactive) made changes -
          Rank Ranked lower
          Joao Pingo (Inactive) made changes -
          Assignee Joao Pingo [ joao.pingo@ez.no ]
          Status QA [ 10008 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Joao Pingo (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Joao Pingo (Inactive) made changes -
          Time Spent 1 day, 1 hour, 30 minutes [ 34200 ] 2 days, 30 minutes [ 59400 ]
          Worklog Id 46312 [ 46312 ]
          Joao Pingo (Inactive) made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          André Rømcke made changes -
          Workflow eZ Engineering Scrumban Workflow [ 55734 ] EZ* Development Workflow [ 83845 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 83845 ] EZEE Development Workflow [ 122465 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              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

                  Agile