-
Notifications
You must be signed in to change notification settings - Fork 66
rewrite.xqy does not correctly handle static files on MarkLogic 8.0 #654
Comments
… rest-api's config.xqy.
I'm having trouble reproducing this. I grabbed a fresh copy of the dev branch, bootstrapped and deployed, navigated to /test/ and the page appeared to load just fine. I also looked in Errorlog.txt but can't find the message you're seeing. Is there another step I might be missing? |
I forgot to mention that this error message : |
The rewrite issues only occur in 8.0-2 or later if i am not mistaken.. Sent from Samsung Mobile -------- Oorspronkelijk bericht -------- I'm having trouble reproducing this. I grabbed a fresh copy of the dev branch, bootstrapped and deployed, navigated to /test/ and the page appeared to load just fine. Is there another step I might be missing? — |
@RobertSzkutak This is fixed in #416. Closing. |
Using 8.0-4.2, navigate to the
/test/
path. This loads the CSS, images, etc. for the test page (e.g./test/img/warning.png
). On my MarkLogic install, this generates:for each of the content items, so the page loads, but the associated CSS, images and JavaScript do not. This is from:
in the
xdmp:eval
fallback toreq:rewrite
not returning a rewritten URI.Handling this error in
rewrite.xqy
to return$uri
fixes the problem.The text was updated successfully, but these errors were encountered: