Skip to content

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

Description

@williambargentball

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

Activity

  1. le-fractal commented on Jun 16, 2016

    @le-fractal

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

  2. le-fractal commented on Jun 16, 2016

    @le-fractal

    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

  3. williambargentball commented on Jun 16, 2016

    @williambargentball
    MemberAuthor

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

  4. changed the title [-]Trash Bin Sort by Deleted[/-] [+]Trash bin table sort adds deletion timestamp to file extension[/+] on Jun 16, 2016
  5. MorrisJobke commented on Jun 17, 2016

    @MorrisJobke
    Member
  6. MorrisJobke commented on Mar 20, 2017

    @MorrisJobke
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions