Got fix working for issues editing
This commit is contained in:
@@ -82,7 +82,7 @@ public class ArtifactEntryValidationModel
|
||||
List<ListedName> listedNames = new();
|
||||
foreach (var name in ListedNames)
|
||||
{
|
||||
listedNames.Add(new ListedName() { ParentArtifactEntry=entry, Value=name});
|
||||
listedNames.Add(new ListedName() { Value=name });
|
||||
}
|
||||
|
||||
entry.ListedNames = listedNames;
|
||||
|
||||
@@ -48,7 +48,7 @@ public class ArtifactGroupingValidationModel : IValidatableObject
|
||||
IdentifierFields = identifierFields,
|
||||
IsPublicallyVisible = true,
|
||||
ChildArtifactEntries = entries,
|
||||
Type = Type
|
||||
Type = new ArtifactType() { Name = Type }
|
||||
};
|
||||
|
||||
// Create the parent link
|
||||
@@ -113,7 +113,7 @@ public class ArtifactGroupingValidationModel : IValidatableObject
|
||||
Description = grouping.Description,
|
||||
IdentifierFieldValues = identifierFields,
|
||||
IsPublicallyVisible = grouping.IsPublicallyVisible,
|
||||
Type = grouping.Type,
|
||||
Type = grouping.Type.Name
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user