Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error deleting files and images #122

Closed
Caixetadev opened this issue Jan 28, 2024 · 1 comment
Closed

Error deleting files and images #122

Caixetadev opened this issue Jan 28, 2024 · 1 comment
Labels
api Improvements or additions to the api bug Something isn't working go Language: Go

Comments

@Caixetadev
Copy link
Collaborator

Describe the bug
When we add a document or image with the same name in the frontend, it is successfully displayed. However, on the backend, only one image or document with that name was stored (likely overwritten). When trying to delete this file or image, it is removed successfully. However, when attempting to delete the other one, an error occurs, stating that this document or image does not exist. This is because there was only one in the backend and it had already been deleted the first time.

To Reproduce
Steps to reproduce the behavior:

  1. add an image or document
  2. add the same image or document
  3. go to the page that lists
  4. delete one of these images
  5. now delete the other one and you will see the error
@kevinanielsen kevinanielsen added bug Something isn't working api Improvements or additions to the api go Language: Go labels Jan 30, 2024
@Caixetadev
Copy link
Collaborator Author

#123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Improvements or additions to the api bug Something isn't working go Language: Go
Projects
None yet
Development

No branches or pull requests

2 participants