Skip to content

GetSingletonPage throws ArgumentNullException if page does not exists. #58

@fremler

Description

@fremler

When trying to get a SiteSettingsPage that does not exists as a child to StartPage with the following code var siteSettings = ContentReference.StartPage.GetSingletonPage<SiteSettingsPage>(); it should return null and not throw ArgumentNullException.
Source.
Reference.

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