Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

$CTRL-EXT does not work when running from modules as "xqy" #740

Closed
rhdunn opened this issue Feb 13, 2017 · 0 comments
Closed

$CTRL-EXT does not work when running from modules as "xqy" #740

rhdunn opened this issue Feb 13, 2017 · 0 comments
Assignees
Milestone

Comments

@rhdunn
Copy link
Contributor

rhdunn commented Feb 13, 2017

The issue

The fix for #736 is not complete. When running from the modules database with ml.controller-ext set to xqy, the replacement logic resolves to:

declare variable $c:CTRL-EXT := ("xqy", $def:CTRL-EXT)[fn:not(. eq "xqy")][1];

This makes $c:CTRL-EXT resolve to an empty sequence. This produces an error in router.xqy when resolving $language (cannot cast an empty sequence to xs:string).

Which Operating System are you using?

Windows 10

Which version of MarkLogic are you using?

8.0-6

Which version of Roxy are you using (see version.txt)?

dev branch

rhdunn pushed a commit to rhdunn/roxy that referenced this issue Feb 13, 2017
dmcassel added a commit that referenced this issue Feb 13, 2017
issue #740: make -EXT work from modules and filesystem
@RobertSzkutak RobertSzkutak added this to the April 2017 milestone Feb 14, 2017
divino added a commit to divino/roxy-1 that referenced this issue Apr 28, 2017
…verify-issue

* 'dev' of https://github.com/marklogic/roxy:
  implemented based on review points
  implement review points
  fix comments
  add feature to load multiple custom configuration files
  marklogic-community#733 corrected invalid-values default; addressed missed case
  issue marklogic-community#740: make -EXT work from modules and filesystem
  removed unneeded FLWOR statements, fixed indent
  fixed mistake in validate-roles/users
  retrieval of existing roles/users outside loop
  issue marklogic-community#736: fix CTRL-EXT from a filesystem modules DB
  Update version
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants