Details
-
Improvement
-
Resolution: Unresolved
-
Medium
-
1.5.1, 1.6.0, 1.5.2, 1.6.1
-
None
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