Creating a media via REST with the same filename as an existing file overwrites the existing file URI #1790
Labels
Type: enhancement
Identifies work on an enhancement to the Islandora codebase
As described over at mjordan/islandora_workbench#251, and with detailed investigation by @jordandukart in the #decoupled Slack channel, using Islandora's REST interface to create media and files as documented in the "Files and Media" section of https://islandora.github.io/documentation/technical-documentation/rest-create/ will create file URIs without checking whether they already exist. This results in existing file URIs being overwritten.
This happens with all tested Drupal filesystems, e.g. fedora:// and public://.
The text was updated successfully, but these errors were encountered: