Skip to content

The Publish Settings TBB Crash on empty Publication Metadataschema #23

@RaimondKempees

Description

@RaimondKempees

Just had an issue whereby a publication apparently had Metadata, but not an assigned MetadataSchema. This then gave an NPE here: https://github.com/sdl/dxa-content-management/blob/develop/Sdl.Web.Tridion.Templates/Templates/PublishConfiguration.cs#L277 and further a startPublication.MetadataSchema is null.

So, I think an extra check on the nullness of MetadataSchema on startPublication is needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions