Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v10: Exception when trying to view locked pages with no logged in user #31

Closed
KevinJump opened this issue Jun 18, 2022 · 0 comments
Closed
Assignees

Comments

@KevinJump
Copy link
Member

When you try and load a site that is locked - without being logged in you get an error:

 An unhandled exception has occurred while executing the request.
System.NullReferenceException: Object reference not set to an instance of an object.
   at Our.Umbraco.MaintenanceMode.BackofficeUserAccessor.get_BackofficeUser()
   at Our.Umbraco.MaintenanceMode.Middleware.MaintenanceRedirectMiddleware.InvokeAsync(HttpContext context, IBackofficeUserAccessor backofficeUserAccessor)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

this seems to be an internal to umbraco thing.

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

No branches or pull requests

1 participant