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

Storage paths for binaries are different if stored via public api or legacy

    XMLWordPrintable

Details

    Description

      When I use the Public API to create a content of any kind of content object with an Image attribute, I can't have the image displayed in the frontend or in the admin interface.
      To create content with the API, QA is using the CreateImageCommand.php given in the API cookbook.
      When troubleshooting the issue, I found out that the image binary file was stored in a location similar to:

      ezpublish_legacy/var/ezdemo_site/storage/images/1/2/3/0/321-1-eng-GB/ValidJpgImage.jpg
      

      If I use the legacy admin interface, the image is correctly pubished and displayed, and stored in a location similar to:

      ezpublish_legacy/var/ezdemo_site/storage/images/folder26698/valid-jpg-image/321-1-eng-GB/Valid-JPG-Image.jpg
      

      This was discovered while testing EZP-26963.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rui.silva-obsolete@ez.no Rui Silva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: