KenticoDevTrev / DynamicRouting

Dynamic Routing in Kentico using a Routing Table and Assembly Attribute
15 stars 5 forks source link

Blows up due to SiteContext NULL on OWIN enabled sites #12

Closed KenticoDevTrev closed 4 years ago

KenticoDevTrev commented 4 years ago

On sites that have OWIN set up for User integration, SiteContext is null on initial requests for OWIN itself, thus blowing up in the Dynamic Route's usage of SiteContext.

KenticoDevTrev commented 4 years ago

Resolved in 625f59bfdc530541c5c7e35dc7a9d04670c6d330 with a Null-Safe SiteContext helper method.