fix: allow empty owner input in diagnostics ui
This commit is contained in:
@@ -592,8 +592,6 @@ namespace LiamWorkflowDiagnostics
|
|||||||
if (string.IsNullOrWhiteSpace(parentPath))
|
if (string.IsNullOrWhiteSpace(parentPath))
|
||||||
throw new InvalidOperationException("Parent Folder Path konnte nicht ermittelt werden.");
|
throw new InvalidOperationException("Parent Folder Path konnte nicht ermittelt werden.");
|
||||||
var ownerSids = ParseIdentifierList(NtfsCreateOwnerSidsTextBox.Text, "Owner SIDs");
|
var ownerSids = ParseIdentifierList(NtfsCreateOwnerSidsTextBox.Text, "Owner SIDs");
|
||||||
if (ownerSids.Count == 0)
|
|
||||||
throw new InvalidOperationException("Owner SIDs: mindestens ein Eintrag ist fuer die Ordneranlage erforderlich.");
|
|
||||||
|
|
||||||
var result = EnsureSuccessfulResultToken(await provider.CreateDataAreaAsync(
|
var result = EnsureSuccessfulResultToken(await provider.CreateDataAreaAsync(
|
||||||
folderPath,
|
folderPath,
|
||||||
|
|||||||
Reference in New Issue
Block a user