Skip to content

Incompatible with 2sxc #64

@SkyeHoefling

Description

@SkyeHoefling

Describe the bug
The key master is currently incompatible with 2sxc structured content

To Reproduce
Steps to reproduce the behavior:

  1. Install the Key Master on a new DNN site
  2. Configure the Key Master
  3. Start the Key Master
  4. Install 2sxc v9.32 LTS
  5. Add a 2sxc Content or App to any page

Expected behavior
The 2sxc Content or App should be created and start the standard behavior of 2sxc

Screenshots
image

Version:

  • DNN: 9.2.2
  • Dnn.KeyMaster: 1.0.0

Additional context
Stack Trace:
Error: App is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: A suitable constructor for type 'ToSic.Eav.Apps.Interfaces.IEnvironmentFactory' could not be located. Ensure the type is concrete and services are registered for all parameters of a public constructor. ---> System.InvalidOperationException: A suitable constructor for type 'ToSic.Eav.Apps.Interfaces.IEnvironmentFactory' could not be located. Ensure the type is concrete and services are registered for all parameters of a public constructor. at Microsoft.Extensions.Internal.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters) at Microsoft.Extensions.Internal.ActivatorUtilities.CreateInstance[T](IServiceProvider provider, Object[] parameters) at ToSic.Eav.Factory.Resolvet in C:\Projects\eav-server\ToSic.Eav.Core\Factory.cs:line 79 at ToSic.SexyContent.ContentBlocks.ModuleContentBlock..ctor(IInstanceInfo instanceInfo, Log parentLog, ITenant tenant, IEnumerable`1 overrideParams) in C:\Projects\2sxc-dnn742\Website\DesktopModules\ToSIC_SexyContent\ToSic.Sxc\SexyContent\ContentBlocks\ModuleContentBlock.cs:line 43 at ToSic.SexyContent.View.get_SxcInstance() in C:\Projects\2sxc-dnn742\Website\DesktopModules\ToSIC_SexyContent\View.ascx.cs:line 24 at ToSic.SexyContent.View.Page_PreRender(Object sender, EventArgs e) in C:\Projects\2sxc-dnn742\Website\DesktopModules\ToSIC_SexyContent\View.ascx.cs:line 54 --- End of inner exception stack trace ---

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions