You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Favorite] Favorite file moved into a shared folder as recipient is no longer favorite #13274
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.
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.
Activity
nickvergessen commentedon Jan 12, 2015
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
DeepDiver1975 commentedon Jan 13, 2015
@PVince81 can you please have a look? THX
nickvergessen commentedon Jan 13, 2015
Also happens with external storages
PVince81 commentedon Jan 13, 2015
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...
PVince81 commentedon Jan 13, 2015
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.
PVince81 commentedon Jan 13, 2015
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.
PVince81 commentedon Jan 13, 2015
Raised #13310 to make the file id stable in general.
PVince81 commentedon Jan 16, 2015
File id stability #13310 is not fixable in 8.0. Deferring to 8.1 as per the blocking ticket.
MorrisJobke commentedon Apr 13, 2015
Fixed with #15360