Trash bin table sort adds deletion timestamp to file extension
Steps to reproduce
- Delete a file
- Soft deleted by time deleted
Expected behaviour
Sorts the files into order of deletion
Actual behaviour
Sorts but also outputs random numbers into the file extension Edit: Only sorts in the trash seem to be affected
Server configuration
Operating system: Ubuntu 16.04
Web server: Apache /2.4.18
PHP version: 7.0.4
Nextcloud version: 9.0.50 (stable)
If this helps, it's actually a Unix timestamp, Probably the time of deletion.
Actually the '.dxxxxxxxx' suffixes appear for me as soon as I try to sort the list, even by "Name". With each subsequent sort, the suffix gets appended again and again.
This prevents restoring the files too, as the name has changed and cannot be found: Couldn't restore welcome.txt.d1466109156.d1466109156
You need to reload the page (thus getting the clean names again) to be able to restore files.
So this is a little bit more serious than it seemed at first
Oh yes, I didn't notice it was that bad, and just to confirm it is a unix timestamp of deletion.
cc @blizzz @schiessle
I can't reproduce this with a current 11. Please recheck with a new version.