You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I click on a new content type definition that is empty, and click on save, the page crashes.
System.NullReferenceException: Object reference not set to an instance of an object.
at OrchardCore.ContentTypes.Services.ContentDefinitionService.<>c__DisplayClass28_0.<AlterTypePartsOrderAsync>b__0(ContentTypeDefinitionBuilder type) in E:\Projects\OrchardCore\src\OrchardCore.Modules\OrchardCore.ContentTypes\Services\ContentDefinitionService.cs:line 393
at OrchardCore.ContentManagement.Metadata.ContentDefinitionManagerExtensions.AlterTypeDefinitionAsync(IContentDefinitionManager manager, String name, Action`1 alteration) in E:\Projects\OrchardCore\src\OrchardCore\OrchardCore.ContentManagement.Abstractions\ContentDefinitionManagerExtensions.cs:line 33
at OrchardCore.ContentTypes.Controllers.AdminController.EditPOST(String id, EditTypeViewModel viewModel) in E:\Projects\OrchardCore\src\OrchardCore.Modules\OrchardCore.ContentTypes\Controllers\AdminController.cs:line 203
at lambda_method724(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
The text was updated successfully, but these errors were encountered:
When I click on a new content type definition that is empty, and click on save, the page crashes.
The text was updated successfully, but these errors were encountered: