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

Trash bin table sort adds deletion timestamp to file extension #139

Closed
williambargent opened this issue Jun 16, 2016 · 5 comments
Closed

Comments

@williambargent
Copy link
Member

williambargent commented Jun 16, 2016

Steps to reproduce

  1. Delete a file
  2. 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)

capture

@le-fractal
Copy link

If this helps, it's actually a Unix timestamp, Probably the time of deletion.

@le-fractal
Copy link

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

@williambargent
Copy link
Member Author

williambargent commented Jun 16, 2016

Oh yes, I didn't notice it was that bad, and just to confirm it is a unix timestamp of deletion.

@williambargent williambargent changed the title Trash Bin Sort by Deleted Trash bin table sort adds deletion timestamp to file extension Jun 16, 2016
@MorrisJobke
Copy link
Member

cc @blizzz @schiessle

@MorrisJobke
Copy link
Member

I can't reproduce this with a current 11. Please recheck with a new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants