Skip to content

Versions not copied to receipient trash on delete and wrong restore path #27698

Closed

Description

@PVince81

Steps

  1. Create two users "user1" and "user2"
  2. Login as "user1"
  3. Create a folder "test/versions"
  4. Share "test" with "user2"
  5. Login as "user2"
  6. Create a file "test/versions/test.txt", save multiple times to create versions
  7. Check versions tab: versions exist
  8. Delete "/test"
  9. Check trash
  10. Restore "versions" folder
  11. Check "versions/test.txt" version tab

Expected

Versions are still there.
Folder is restored to "/test/versions".

Actual

Versions are lost.
Folder is restored to the root "/versions".

Note that if you check the trash of "user1" instead of "user2", you'll find the owner copy of the folder. When restoring that one, the versions are still there.

Version

ownCloud 10.0.0 RC1

Regression from 9.1.5.

The code related to copying stuff for shared users in trash has been touched recently for #24053, it is likely that it broke this one case.

Activity

  1. added this to the 10.0.1 milestone on Apr 20, 2017
  2. modified the milestones: triage, 10.0.1 on May 15, 2017
  3. ownclouders commented on Dec 20, 2017

    @ownclouders
    Contributor

    Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.

  4. PVince81 commented on Dec 20, 2017

    @PVince81
    ContributorAuthor

    Could not reproduce this on master

  5. removed this from the triage milestone on Apr 10, 2018
  6. lock commented on Jul 30, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  7. locked as resolved and limited conversation to collaborators on Jul 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions