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

kernel::runcallback() does not always return to correct directory

    Details

      Description

      The code is currently always returning to the "web" dir.
      But in some contexts, the runcallback() might happen from another directory.
      The correct approach would be to save current dir when execxuting enterLegacyRootDir(), and go back there upon calling leaveLegacyRootDir.

        Issue Links

          Activity

          Hide
          Gaetano Giunta (Inactive) added a comment -

          Will provide a specific test case asap

          Show
          Gaetano Giunta (Inactive) added a comment - Will provide a specific test case asap
          Show
          Gaetano Giunta (Inactive) added a comment - PR https://github.com/ezsystems/ezpublish-kernel/pull/703
          Show
          Jérôme Vieilledent (Inactive) added a comment - New PR based on the one from Gaetano Giunta : https://github.com/ezsystems/ezpublish-kernel/pull/712
          Show
          Jérôme Vieilledent (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-kernel/commit/996e7d72258b36b58171d90f895ecb4b53c1b778
          Hide
          Pedro Resende (Inactive) added a comment -

          Tested and approved by Q.A.

          Show
          Pedro Resende (Inactive) added a comment - Tested and approved by Q.A.

            People

            • Assignee:
              Unassigned
              Reporter:
              Gaetano Giunta (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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