Handle exceptions for deleted share nodes while transfering ownership#37568
Handle exceptions for deleted share nodes while transfering ownership#37568phil-davis merged 1 commit intomasterfrom
Conversation
82f41bd to
237097a
Compare
Codecov Report
@@ Coverage Diff @@
## master #37568 +/- ##
============================================
- Coverage 64.66% 64.65% -0.01%
- Complexity 19345 19351 +6
============================================
Files 1279 1279
Lines 75601 75624 +23
Branches 1333 1333
============================================
+ Hits 48885 48896 +11
- Misses 26324 26336 +12
Partials 392 392
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #37568 +/- ##
============================================
+ Coverage 64.70% 64.71% +0.01%
- Complexity 19353 19359 +6
============================================
Files 1281 1281
Lines 75614 75637 +23
Branches 1333 1333
============================================
+ Hits 48926 48949 +23
Misses 26296 26296
Partials 392 392
Continue to review full report at Codecov.
|
|
@mrow4a looks good. Is it possible to increase coverage a bit? |
|
Yes this is main problem, if you look into how tests are structured, there are no mocks, and we test here usecase with federation. I will see again if I can easily add test, probably by mocking everything and not using presettuped things. |
Doc relevant |
237097a to
c8a5da1
Compare
|
You took my suggestion regarding naming the option ( |
c8a5da1 to
46a94fb
Compare
Hi, sorry forgot to add changelong. I changed from |
|
Pls file a doc issue, because of a change in the occ command set! |
|
Doc issue owncloud/docs#2715 Possible port to 10.5.0 #37618 - TBD if it gets added there. |
When running
files:transfer-ownership, we should not explode with exception when e.g. federated share reshare has been deleted by remote owner (thus resulting inNotFoundExceptionorNoUserException)This PR:
NotFoundExceptionorNoUserException--accept-skipped-sharesto always accept skipped shares