From e76aa6df4dda8bad6c55b5d2295205800f832a92 Mon Sep 17 00:00:00 2001 From: Wolfgang Meier Date: Tue, 6 Feb 2024 13:52:30 +0100 Subject: [PATCH] Comment out template lookup in $request, which is causing random errors in eXist --- modules/lib/util.xql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lib/util.xql b/modules/lib/util.xql index dfe9510d..1adf3128 100644 --- a/modules/lib/util.xql +++ b/modules/lib/util.xql @@ -93,7 +93,7 @@ declare function tpu:get-template-config($request as map(*)) { let $pval := array:fold-right( [ request:get-parameter($param, ()), - if (map:contains($request, 'parameters')) then $request?parameters($param) else (), + (: if (map:contains($request, 'parameters')) then $request?parameters($param) else (), :) request:get-attribute($param), session:get-attribute($config:session-prefix || "." || $param) ], (),