received shares must go into share_folder when configured#35312
received shares must go into share_folder when configured#35312karakayasemi merged 1 commit intomasterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #35312 +/- ##
============================================
+ Coverage 65.53% 65.56% +0.03%
Complexity 18648 18648
============================================
Files 1218 1218
Lines 70548 70550 +2
Branches 1288 1288
============================================
+ Hits 46235 46258 +23
+ Misses 23936 23915 -21
Partials 377 377
Continue to review full report at Codecov.
|
bfd5855 to
be27d8b
Compare
| ]; | ||
|
|
||
| // Add a accepted share for "user" | ||
| \call_user_func_array([$this->manager, 'addShare'], $shareData1); |
There was a problem hiding this comment.
why the "call_user_func_array"?
There was a problem hiding this comment.
I followed syntax of the previous tests. I guess passing parameters as an array is easier.
|
did this feature work with federated shares? Maybe we should include an additional option to use a different folder for federated shares (pinging @pmaier1 for this). |
There is an open issue for this feature and it was identified as bug. @pmaier1's thought is valuable for deciding whether separation of this configuration. I can modify the PR after decision. |
be27d8b to
c9adc11
Compare
|
I don't see a reason to split these folders. Why would you? Generally speaking, federated sharing should be as transparent as possible to users (many users don't understand the concept), meaning for a regular user it should not make a difference whether a share is local or federated. |
|
@karakayasemi please merge and backport. |
|
Backport PR: #35396 |
cdamken
left a comment
There was a problem hiding this comment.
now the share comes in the "/Shared" folder as desired.
But
in "Share with you" still doesn't appear the shares.
|
Hmm, in the related issue description, I could not see anything about "Shared with you" problem. @cdamken we may raise a new ticket for it. |
|
Your are right, it was not described above, I just notice it now we can create a new ticket for that Thanks! 😄 |
Description
Federates shares currently does not respect to configured share folder. This PR resolves this bug.
Related Issue
Motivation and Context
Resolving bug.
How Has This Been Tested?
Manually by following below steps:
Scenario 1
'share_folder' => 'test'toconfig.php's of first instancetestfolderScenario 2
'share_folder' => 'test'toconfig.php's of first instancetestfolderTypes of changes
Checklist:
Open tasks: