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
Share dialog shows the same user multiple times #14835
@DeepDiver1975
Look at the screenshot, It lists the file is shared in "APSC 480 with TREVOR LEWIS (TL33)" -- that users is listed 3 times in the same line.
Then it shows "Shared in APSC 480 2014-15 with JAKE ARMSTRONG (8JEA3)" -- he is listed 3 times in the same line.
@gig13 did you check whether they have the duplicate oc_storage entries situation ? (local::$datadir/$user additionally to home::$user) Many sharing issues are related to that.
But I must say that this situation is a bit new.
It kind of reminds me of another issue where it would display the users from a group instead of the group name but cannot find the ticket any more.
@PVince81
There was no group sharing whatsoever. Everything was from one user to another (or many other). I will check if the user shared this multiple times -- very possible since they did the upgrade and may have had the initial share, and then after the patch was applied, shared again?
If there is only one owner and multiple recipients (and no reshares), then this situation shouldn't happen. But who knows... you could check in oc_share whether that user is the recipient multiple times (select * from oc_share where share_with='theusername')
The situation is as follows:
/FolderA - shared with user1
/FolderA/FolderB - shared with 21 other users
Share dialog for FolderB shows "Shared in FolderA with user1, user1, ..., user1" - user1 is shown 21 times.
There are no duplicated entries in oc_storages for affected users.
There is no group sharing involved of any kind.
Only one entry in oc_share for this share.
Steps to reproduce:
Create folder - FolderA
Share FolderA with User1
Inside FolderA create FolderB
Share FolderB with user2, user3, user4 (or more)
Open share dialog for FolderB again.
Result: Share dialog for FolderB shows "Shared in FolderA with user1, user1, user1" - number of times user1 is displayed depends on how may times FolderB was shared with other users.
Tested on Firefox, Chromium, Opera, different versions, different OS - no difference.
Activity
gig13 commentedon Mar 17, 2015
Correction, It isn't when you enter the name, just when you view who the folder is shared with.
Screenshot and some database information in https://s3.owncloud.com/owncloud/index.php/apps/files/?dir=%2FShared%2Fowncloud%2Fsupport%2Fgithub-issues%2Fcore%2F14835
Related to ##13957
DeepDiver1975 commentedon Mar 17, 2015
@gig13 which users are duplicate?
gig13 commentedon Mar 17, 2015
@DeepDiver1975
Look at the screenshot, It lists the file is shared in "APSC 480 with TREVOR LEWIS (TL33)" -- that users is listed 3 times in the same line.
Then it shows "Shared in APSC 480 2014-15 with JAKE ARMSTRONG (8JEA3)" -- he is listed 3 times in the same line.
gig13 commentedon Mar 18, 2015
@DeepDiver1975 @PVince81
Any thoughts?
PVince81 commentedon Mar 18, 2015
also @schiesbn
@gig13 did you check whether they have the duplicate oc_storage entries situation ? (local::$datadir/$user additionally to home::$user) Many sharing issues are related to that.
But I must say that this situation is a bit new.
It kind of reminds me of another issue where it would display the users from a group instead of the group name but cannot find the ticket any more.
PVince81 commentedon Mar 18, 2015
Ah, here it is: #12106
@gig13 was the file/folder shared with that user multiple times, like through multiple groups ? If yes, then it could be the same issue.
gig13 commentedon Mar 18, 2015
@PVince81
There was no group sharing whatsoever. Everything was from one user to another (or many other). I will check if the user shared this multiple times -- very possible since they did the upgrade and may have had the initial share, and then after the patch was applied, shared again?
PVince81 commentedon Mar 18, 2015
If there is only one owner and multiple recipients (and no reshares), then this situation shouldn't happen. But who knows... you could check in oc_share whether that user is the recipient multiple times (
select * from oc_share where share_with='theusername')gig13 commentedon Mar 19, 2015
@PVince81
They were only shared once.
PVince81 commentedon Aug 3, 2015
Still happening with 7.0.7 or 8.0.5 ?
gig13 commentedon Aug 14, 2015
@PVince81 -- This has been closed for some time on my side. To re-open if needed.
bedzkowp commentedon Sep 9, 2015
I can confirm this in 8.0.7 stable.
The situation is as follows:
/FolderA - shared with user1
/FolderA/FolderB - shared with 21 other users
Share dialog for FolderB shows "Shared in FolderA with user1, user1, ..., user1" - user1 is shown 21 times.
There are no duplicated entries in oc_storages for affected users.
There is no group sharing involved of any kind.
Only one entry in oc_share for this share.
Steps to reproduce:
Tested on Firefox, Chromium, Opera, different versions, different OS - no difference.