merge release/10.0.0 into v10/dev
commit9ff06eec6eAuthor: Ronald Barendse <ronald@barend.se> Date: Wed May 25 11:16:39 2022 +0200 v10: Instantly reload ConnectionStrings after saving configuration (#12475) * Do not replace DataDirectory placeholder when setting connection string * Ensure ConnectionStrings options are updated when configuration is reloaded * Use CurrentValue to get default Umbraco connection string commitfcee6dc06aAuthor: Paul Johnson <pmj@umbraco.com> Date: Wed May 25 10:08:43 2022 +0100 Fix legacy scope provider no longer implementing ICoreScopeProvider (#12480) commit88f3628d0aAuthor: Paul Johnson <pmj@umbraco.com> Date: Wed May 25 09:49:33 2022 +0100 Fix options monitor setup for connectionstrings (#12472) commit4eeb03e7fbAuthor: Johan Runsten <jrunestone@users.noreply.github.com> Date: Wed May 25 10:13:25 2022 +0200 Fixed null check typo in CacheInstructionService. Fixes #12473. (#12474) * Fixed null check typo. Fixes #12473. * Removed unneccessary null forgiving operator Co-authored-by: Johan Runsten <johan.runsten@toxic.se> commitd810d66e9aAuthor: Asbjørn Riis-Knudsen <ar@jf-data.com> Date: Tue May 24 17:41:10 2022 +0200 Fix #12454 by having Coalesce handle null values (#12456) * Fix #12454 by having Coalesce handle null values * Allow null values in Html.Coalesce #12454 commit963d4c5051Author: Paul Johnson <pmj@umbraco.com> Date: Tue May 24 13:55:39 2022 +0100 Ensure unique buildnumber for devops UI
This commit is contained in:
@@ -7,8 +7,6 @@ namespace Umbraco.Cms.Core.Configuration.Models;
|
||||
/// </summary>
|
||||
public class ConnectionStrings // TODO: Rename to [Umbraco]ConnectionString (since v10 this only contains a single connection string)
|
||||
{
|
||||
private string? _connectionString;
|
||||
|
||||
/// <summary>
|
||||
/// The default provider name when not present in configuration.
|
||||
/// </summary>
|
||||
@@ -39,14 +37,7 @@ public class ConnectionStrings // TODO: Rename to [Umbraco]ConnectionString (sin
|
||||
/// <value>
|
||||
/// The connection string.
|
||||
/// </value>
|
||||
/// <remarks>
|
||||
/// When set, the <see cref="DataDirectoryPlaceholder"/> will be replaced with the actual physical path.
|
||||
/// </remarks>
|
||||
public string? ConnectionString
|
||||
{
|
||||
get => _connectionString;
|
||||
set => _connectionString = ConfigurationExtensions.ReplaceDataDirectoryPlaceholder(value);
|
||||
}
|
||||
public string? ConnectionString { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the provider.
|
||||
|
||||
Reference in New Issue
Block a user