We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ea5db5 commit 7396d50Copy full SHA for 7396d50
src/main/xar-resources/modules/app.xql
@@ -365,7 +365,11 @@ function app:view(
365
) {
366
let $modules :=
367
if ($location) then
368
- $app:data[xqdoc:module/xqdoc:uri eq $uri][xqdoc:control/xqdoc:location eq $location]
+ (: We need to re-read the collection here to avoid an NPE in exist-7.0.0-SNAPSHOT
369
+ see https://github.com/eXist-db/exist/issues/5707 :)
370
+ collection($config:app-data)/xqdoc:xqdoc
371
+ [xqdoc:module/xqdoc:uri eq $uri]
372
+ [xqdoc:control/xqdoc:location eq $location]
373
else
374
$app:data[xqdoc:module/xqdoc:uri eq $uri]
375
0 commit comments