Conversation
Codecov Report
@@ Coverage Diff @@
## master #35319 +/- ##
=============================================
- Coverage 65.81% 49.09% -16.73%
=============================================
Files 1228 109 -1119
Lines 70982 10535 -60447
Branches 1289 1289
=============================================
- Hits 46716 5172 -41544
+ Misses 23888 4985 -18903
Partials 378 378
Continue to review full report at Codecov.
|
|
Well, there are existing tests that assume there could be shares with the same mount points. |
b9bb686 to
60d348b
Compare
|
@VicDeo What are the next steps on this? |
|
@micbar I'm stuck here. No idea how to fix the tests |
|
@phil-davis @individual-it Could you help with the tests? |
|
@micbar the acceptance tests are passing. Various unit tests are failing e.g. https://drone.owncloud.com/owncloud/core/18094/127 We can have a look, however it will be some learning to understand what is going on in the unit tests here (which might be "a good thing") |
|
@patrickjahns Could you help here with testing issues? |
|
This solution causes 53 existing test cases to fail because they are not true unit tests. These tests have external dependencies :/ |
|
it;s even more interesting. |
|
I've added a static property to register files_sharing mount providers only once. |
c82776f to
5d030d9
Compare
|
with this change I have two folders as receiver, but the remote share (that was received firsts) is renamed to tests to demonstrate the issue were added in #35870 |
|
took off QA-team label because tests were implemented |
|
As discussed in #35777 the master branch will from now on hold the ownCloud 10 codebase. This PR targetted ownCloud 11 which is postponed to a far distant future. Because of that I'm closing this PR and kindly ask you to re-submit this PR in a few days. Thanks a lot for your patience |

Description
Check that all user mount points has unique names
Related Issue
Motivation and Context
invisible local share when federated share with the same name exists
How Has This Been Tested?
http://localhost/owncloud-10.2.0/rc2_a&http://localhost/owncloud-10.2.0/rc2_buser1_on_server_auser1_on_server_buser2_on_server_buser1_on_server_acreate a folder calledto-shareuser1_on_server_ashare the folderto-sharewithuser1_on_server_bvia federation sharinguser1_on_server_baccept the shareuser2_on_server_bcreate a folder calledto-shareuser2_on_server_bshare the folderto-sharelocally withuser1_on_server_bExpected behaviour
as
user1_on_server_bthere should be a received folder calledto-share(fed sharing) and a folder calledto share (2)local sharingActual behaviour
as
user1_on_server_bthere is only one received folder calledto-share(fed sharing) and NO folder calledto share (2)local sharingTypes of changes
Checklist:
Open tasks: