Skip to content

fix: attempt to create folder when exporting epc

Benjamin Ségault requested to merge bsegault/create-dir-on-export-epc into main

Type of change

  • Bug Fix
  • Feature

Does this introduce a change in the core logic?

  • [Yes]

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • GCP
  • IBM

Updates description?

When trying to export the .epc from a dataspace, if the file was in a non-existing directory, the export failed. With this change, we try to ensure the directory tree exist before checking that it is writable. If directory creation fails, there is an early error.

Merge request reports