-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Downstream 26539 & 28074 - proper handling of invalid config #6149
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
Conversation
|
|
||
| use OCP\Files\StorageNotAvailableException; | ||
|
|
||
| class InvalidStorage { |
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.
There is an OC\Files\Storage\FailedStorage that should probably bne reused instead
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.
I rebased this. Sadly I wasn't apply to make this change here happen. @icewind1991 Could you please help me here? Thanks
3644357 to
d973512
Compare
Codecov Report
@@ Coverage Diff @@
## master #6149 +/- ##
=========================================
Coverage ? 54.41%
Complexity ? 21175
=========================================
Files ? 1311
Lines ? 82417
Branches ? 1329
=========================================
Hits ? 44850
Misses ? 37567
Partials ? 0
|
Signed-off-by: Morris Jobke <[email protected]>
d973512 to
2cb3461
Compare
|
I removed the commits regarding the handling of storages and made a separate PR out of it. This is now ready for review. |
|
Please re-review. |
This is a downstream of owncloud/core#28074
and owncloud/core#26539 to make it easy to test. owncloud/core#26539 is also needed for #6146 (to review: look into both commits separately)