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

404 Not found when publishing content with an image using non default File Handler

    XMLWordPrintable

Details

    Description

      Using the following configuration, ezplatform uploads the image to the server(I can see it where it is supposed to be) but afterwards it can't find it so the content is not created. The same thing happens for binary files.

      The returned Response:

      {"ErrorMessage":{"_media-type":"application\/vnd.ez.api.ErrorMessage+json","errorCode":404,"errorMessage":"Not Found","errorDescription":"Could not find 'BinaryFile' with identifier 'images\/7\/1\/2\/0\/217-1-eng-GB\/visibility-bug.gif'"}}
      

      The configurations
      config.yml

      oneup_flysystem:
          adapters:
              ftp_adapter:
                  ftp:
                      host: 'localhost'
                      port: ~
                      username: <my user>
                      password:  <my password>
                      root: ~
                      ssl: false
                      timeout: ~
                      permPrivate: ~
                      permPublic: ~
                      passive: ~
                  local:
                      directory: '/'
          filesystems:
              my_filesystem:
                  adapter: ftp_adapter
      

      ezplatform.yml:

      ez_io:
          metadata_handlers:
              default:
                  flysystem:
                      adapter: ftp_adapter
          binarydata_handlers:
              default:
                  flysystem:
                      adapter: ftp_adapter
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            miguel.jacinto-obsolete@ez.no Miguel das Neves Jacinto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: