Skip to content

GetSingletonPage throws ArgumentNullException if page does not exists. #58

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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