instride-ch/pimcore-data-definitions

JsonProvider export doesn't work with artifact mode

Opened this issue · 0 comments

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Branch? master

When exporting an artifact (which is imported as an asset into Pimcore), you cannot use JSON Provider because it expects $params["file"] to be set (which it isn't).

XMLProvider allows this by exporting to a temp file which is then renamed into the file or imported as an artifact.