Skip to content

Virtual Nodes for Umbraco 8 (1.0.1)

Latest
Compare
Choose a tag to compare
@christopherrobinson christopherrobinson released this 26 Sep 07:20
· 2 commits to master since this release
Handle null Urls from unpublished nodes (#2)

* Handle null Urls from unpublished nodes

Fixes error that occurs if Umbraco is in preview mode.
An unpublished document will have a null url, which needs to be handled as a blank contribution to the url path.

* Update VirtualNodesHelpers.cs

Additional safety checks for null values

* Update VirtualNodesUrlProvider.cs

Additional safety checks. Needed in case content is not found in the cache (unpublished).

Thanks to @amitch17 for these bug fixes 👍