Open individual-it opened 6 years ago
@individual-it are you deleting files which have the same base file name from different folders ?
For example if you quickly delete:
it would result in three files called "lorem.txt" in the trashbin root, each with a different timestamp suffix value. except if you're too fast and the timestamp suffix value is the same... in this case, you bumped into https://github.com/owncloud/core/issues/23151
workaround would be to either add a 1ms delay or call the files differently... this situation seldom happens for actual user input because one can only select multiple files within the same folder, not multiple files. If you delete the parent folders then you get those folders in the root of the trashbin, not the file names.
hmm that might be the case, interesting that in our tests-runs its only happens with encryption
I bumped into that problem again and I think its different to what @PVince81 suggested the tests that have the problem do not delete the same filename
When the user batch deletes these files using the webUI
| name |
| data.zip |
| lorem.txt |
| simple-empty-folder |
or
When the user batch deletes these files using the webUI
| name |
| data.zip |
| lorem.txt |
| simple-folder |
and this are actions on the webUI, meaning they can happen to a user
see issue https://github.com/owncloud/core/issues/33325 some UI tests would fail from time to time, looking into the logs there are this exceptions when the test fails