Skip to content

Media: Handling Files that Already Exist #2152

Open
@zcolah

Description

@zcolah

Problem

User is uploading a file into the system again that already exists

Solution

Show a modal with the following:

  • Title: Upload Options
  • Content:
  • Body 1 Text: Zosh.png already exists in this location. Do you want to replace the existing file with a new version or keep both files?
  • Radio Buttons: Replace Existing File, Keep Both Files
  • Buttons: Cancel, Upload

Questions:

  • Can we create a back end point that allows us to check if a file with that file name exists in the instance? If yes, how complex is this?
  • new endpoint to check if file already exists
  • Will we get the notice for replacing on the image creation API or a separate validator API?
  • This would be a separate validator API
  • Can we create a back end point that allows us to replace this file with an updated version?
  • This should preserve the created_at field

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureAdditional functionality that should be added to Zesty

    Type

    No type

    Projects

    Status

    Project Ideas

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions