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

Copying content with console commands does not work when working with multiple var directories.

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • Console

    Description

      Hello,

       

      Step to reproduce

      1. Create a ibexa/oss project
      2. Create 2 siteaccesses with different var directories
      3. Create a console command that uses the `ContentService::copyContent()` method
      4. Use this command on a content with at least one `ezimage` field on both siteaccesses.

      Expected result

      The copied content should keep the old image with the old URL.

      Actual result

      The image URL contains `var/.../images-versionned/images/...`, which results in a 404 error.

       

      Best regards,

      Axel

      Attachments

        Activity

          People

            Unassigned Unassigned
            2bb8fcd0-a9a0-4d76-b4f6-36d55589f2a8@accounts.ibexa.co Axel Veber
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: