Skip to content

[Favorite] Favorite file moved into a shared folder as recipient is no longer favorite #13274

Closed

Description

@SergioBertolinSG

Steps to reproduce

  1. Make a file or folder favorite
  2. Move it inside a shared folder by another user.

Expected behaviour

File is still favorite.

Actual behaviour

File loses its status as favorite file.

Server configuration

Operating system:
Ubuntu 14.04 LTS

Web server:
Apache

Database:
MySQL

PHP version:
5.5.9

ownCloud version: (see ownCloud admin page)
{"installed":true,"maintenance":false,"version":"8.0.0.1","versionstring":"8.0 alpha 1","edition":""}

Updated from an older ownCloud or fresh install:
fresh

List of activated apps:
none

The content of config/config.php:

Insert your config.php content here
(Without the database password and passwordsalt)

Are you using external storage, if yes which one: local/smb/sftp/...
no

Are you using encryption: yes

Client configuration

Browser:
Chrome

Activity

  1. nickvergessen commented on Jan 12, 2015

    @nickvergessen
    Contributor

    Also happens when moving a shared favorited file out of the share.
    I guess this is due to the fact that the file id changes?

    @PVince81

  2. added this to the milestone on Jan 13, 2015
  3. DeepDiver1975 commented on Jan 13, 2015

    @DeepDiver1975
    Contributor

    @PVince81 can you please have a look? THX

  4. nickvergessen commented on Jan 13, 2015

    @nickvergessen
    Contributor

    Also happens with external storages

  5. PVince81 commented on Jan 13, 2015

    @PVince81
    Contributor

    I'll have a look. It is likely due to file id change.
    I suspect we'll need to spend some time in the future to make file ids stable...

  6. self-assigned this
    on Jan 13, 2015
  7. PVince81 commented on Jan 13, 2015

    @PVince81
    Contributor

    Just checked the database and indeed the file id changes.
    It's not only causing the favorite info to be lost, but also the share info!
    If you share the file with link, then move it into a shared folder. Boom. Share lost. I'll make a separate ticket.

  8. PVince81 commented on Jan 13, 2015

    @PVince81
    Contributor

    Raised the share breakage here: #13307

    One possible solution is to add additional hooks that checks for such situations and then automatically update the share/favorite mapping by updating the file id. But honestly I'd prefer if we had stable file ids instead. There's more and more stuff relying on file ids.

  9. PVince81 commented on Jan 13, 2015

    @PVince81
    Contributor

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

  10. modified the milestones: , on Jan 16, 2015
  11. PVince81 commented on Jan 16, 2015

    @PVince81
    Contributor

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

  12. modified the milestones: , on Mar 3, 2015
  13. MorrisJobke commented on Apr 13, 2015

    @MorrisJobke
    Contributor

    Fixed with #15360

  14. modified the milestones: , on Apr 13, 2015
  15. 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

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions