U4-9588 - Don't necessarily die on non-configured filesystems

Created by Stephan 02 Mar 2017, 16:13:18 Updated by Claus Jensen 08 Mar 2017, 10:58:53

Is required for: CON-1279

Subtask of: UAASSCRUM-814

When calling GetFileSystemProvider and the filesystem is not configured, we currently die (throw). We need an overload that accepts a Func method that creates the default FS in case nothing is configured. To be used by Forms.

Comments

Stephan 08 Mar 2017, 10:08:22

PR https://github.com/umbraco/Umbraco-CMS/pull/1783

Review: all tests should be green and file operations on the site should work OK.

Note: with this PR the FileSystemProviderManager now ensures that each FS is a singleton, which is a change (in the past it would create transient instances) that is required for scopes to work at all, plus it "makes sense". I fail to see how it could break anything, but it's a change nevertheless.


Priority: Normal

Type: Task

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 7.6.0

Sprint: Sprint 54

Story Points: 1.5

Cycle: