-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle exceptions for deleted share nodes while transfering ownership #37568
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! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great
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 inNotFoundException
orNoUserException
)This PR:
NotFoundException
orNoUserException
--accept-skipped-shares
to always accept skipped shares