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

[LegacyBridge] Fall back to absolute symlinks in commands

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: High High
    • None
    • None
    • Legacy bridge
    • None

    Description

      Currently, if one of the Legacy Bridge commands fails to create relative symlinks (with --relative flag), they fall back to hard copy. Because the hard copies need to be created again when anything inside is changed, the absolute symlinks are a better option. So, the Legacy Bridge should fall back to absolute symlinks instead.
      Being unable to create relative symlinks is something that happens often on Windows, but can also happen in other circumstances.
      The default behaviour of Symfony commands is also to fall back to absolute symlinks if the relative ones cannot be created (ref.: https://github.com/symfony/symfony/blob/eca17ec964175cb6bc35756a0a20767e84333cca/src/Symfony/Bundle/FrameworkBundle/Command/AssetsInstallCommand.php#L189).

      Attachments

        Activity

          People

            Unassigned Unassigned
            jacek.foremski-obsolete@ez.no Jacek Foremski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: