dom111 / webdav-js

A simple WebDAV client written in JS for use as a bookmarklet, or integration into a web server.
MIT License
85 stars 17 forks source link

Deleting a file which was not overwritten leaves an entry behind #118

Open Lex-2008 opened 1 year ago

Lex-2008 commented 1 year ago

Hi, I found another bug! :) Steps to reproduce:

  1. Upload a file
  2. Try to upload a file with same name
  3. When asked if you want to overwrite it - say "Cancel"
  4. Try to delete this file
  5. When asked if you want to delete it - say "Ok"

Expected behavior: file should disappear from the list.

Currently, the file is deleted on server, but stays in the list.

Don't know if it's relevant, but I tested with empty file called "file1". Also, it doesn't matter if you reload the page between steps 1 and 2.