From 21bba59c1dfa9cdd9d9e466f4f047da621ee7cec Mon Sep 17 00:00:00 2001 From: Jasmin Savard Date: Fri, 16 Sep 2022 14:43:18 -0400 Subject: [PATCH] TypePartDefinition is null issue --- .../ContentDisplay/ContentPartDisplayDriverTPart.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/OrchardCore/OrchardCore.ContentManagement.Display/ContentDisplay/ContentPartDisplayDriverTPart.cs b/src/OrchardCore/OrchardCore.ContentManagement.Display/ContentDisplay/ContentPartDisplayDriverTPart.cs index 892a114504c..df64c9ab65a 100644 --- a/src/OrchardCore/OrchardCore.ContentManagement.Display/ContentDisplay/ContentPartDisplayDriverTPart.cs +++ b/src/OrchardCore/OrchardCore.ContentManagement.Display/ContentDisplay/ContentPartDisplayDriverTPart.cs @@ -40,6 +40,7 @@ public override ShapeResult Factory(string shapeType, Func { - var stereotype = _typePartDefinition.ContentTypeDefinition.GetStereotype() ?? String.Empty; - string[] displayTypes; if (editorPartType == shapeType)