XPath can unambiguously use $site/$parent (#14127)

* XPath can unambiguously use $site/$parent

* add deprecation notices and obsolete methods

* Update deprecation description text/instruction

Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>

* Small spelling fix on deprecation description

* keep depr. getByQuery and handle legacy usage

---------

Co-authored-by: Kalle Macklin <karlmacklin@users.noreply.github.co>
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
This commit is contained in:
karlmacklin
2023-05-15 08:42:58 +02:00
committed by Nikolaj
parent 5b73fc19ee
commit b3bedb4efe
5 changed files with 81 additions and 27 deletions

View File

@@ -79,6 +79,7 @@ internal class NotFoundHandlerHelper
var xpathResult = UmbracoXPathPathSyntaxParser.ParseXPathQuery(
errorPage.ContentXPath!,
domainContentId,
null,
nodeid =>
{
IEntitySlim? ent = entityService.Get(nodeid);