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

Wrong paths are generated for Encore configs when bundle is symlinked

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2.5.0-rc2
    • Fix Version/s: 2.5.2, 3.0.0-beta1
    • Component/s: None
    • Labels:

      Description

      Symlinking bundles causes invalid paths to be generated for ez.config.js and ez.config.manager.js files. This happens in rare circumstances:

      Prerequisites:
      Installation at /Users/myuser/Projects/ezplatform, symlinked package (ezsystems/ezplatform-admin-ui) at /Users/myuser/Projects/ezplatform-admin-ui.

      Cause of the issue:
      Paths are generated by removing absolute installation path from package's absolute path to obtain relative path. In this case generated path was invalid: .-admin-ui-modules/Resources/encore/ez.config.js.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              maciej.kobus@ez.no Maciej Kobus
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: