-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 👍
- Loading branch information
1 parent
a461bbe
commit 8a09c96
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters