Skip to content

Conversation

@PVince81
Copy link
Contributor

Description

In case the scanner finds out that either the root or "files" folder is missing on a home storage, throw a StorageNotAvailableException to prevent potential side effects. This situation can happen in some FS mount scenarios where the mount is missing.

Related Issue

https://github.com/owncloud/enterprise/issues/2050
https://github.com/owncloud/enterprise/issues/2080

Motivation and Context

Because we don't like it when sometimes clients might think that the home is empty or when ownCloud decides to recreate the home folder because it's missing.

How Has This Been Tested?

Unit test

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Copy link
Contributor

@tomneedham tomneedham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good + tested scan command locally.

@PVince81
Copy link
Contributor Author

stable10: #28504
stable9.1: #28505

@PVince81
Copy link
Contributor Author

PVince81 commented Sep 18, 2017

stable9: #29046

@lock
Copy link

lock bot commented Aug 2, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants