Skip to content

Move shared file into shared folder as recipient, moved share info lost #13307

Closed

Description

@PVince81

Steps to reproduce

  1. Create two users "user1" and "user2"
  2. Login as "user1"
  3. Create a folder "test"
  4. Share "test" with "user2"
  5. Login as "user2"
  6. Create a folder "sub" and put some files in it
  7. Share "sub" with link and copy the link
  8. Move "sub" into "test"
  9. Check the share info for "sub"
  10. Open the copied share link

Expected result

At step 9 the link share still exists.
At step 10 the link share can be opened.

Actual result

At step 9 the link share is gone because the fileid changed in the database.
At step 10 the link share can be opened, but the list appears empty (list.php returns 404)
Note that at this point it is impossible to delete that broken share!

Versions

owncloud 8 git master dc86cbd

@SergioBertolinSG @jnfrmarks another one for the sharing test plan

Activity

  1. PVince81 commented on Jan 13, 2015

    @PVince81
    ContributorAuthor

    @schiesbn @icewind1991 is there any way to prevent losing/changing the file id in such situations ?

    I guess moving a share into an external storage will cause the same issues due to fileid changes.

  2. PVince81 commented on Jan 13, 2015

    @PVince81
    ContributorAuthor

    Raised #13310 to make the file id stable in general.

  3. added this to the milestone on Jan 16, 2015
  4. PVince81 commented on Jan 16, 2015

    @PVince81
    ContributorAuthor

    File id stability #13310 is not fixable in 8.0. Deferring to 8.1 as per the blocking ticket.

  5. MorrisJobke commented on Apr 13, 2015

    @MorrisJobke
    Contributor

    Fixed with #15360

  6. locked as resolved and limited conversation to collaborators on Aug 12, 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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions