Skip to content

V16.3 Fails to boot with Umbraco Commerce - Missing ILogger registration in DI #20531

@BenWhite27

Description

@BenWhite27

Which Umbraco version are you using?

16.3.0

Bug summary

BlockEditorPropertyValueEditor:Line 33. Has an obsolete constructor that falls back to StaticServiceProvider.Instance.GetRequiredService<ILogger>()

But a non-generic ILogger implementation is not registered in DI.

Specifics

No response

Steps to reproduce

  • Install blank CMS + Umbraco Commerce
  • Configuring an Umbraco Commerce Variants editor data type will cause this error to occur in the background.

If you have an existing installation with a variants editor configured, then the whole CMS will fail to boot.

Expected result / actual result

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions