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

config.xqy $CTRL-EXT does not work from filesystem modules #736

Closed
rhdunn opened this issue Feb 10, 2017 · 2 comments
Closed

config.xqy $CTRL-EXT does not work from filesystem modules #736

rhdunn opened this issue Feb 10, 2017 · 2 comments
Assignees
Milestone

Comments

@rhdunn
Copy link
Contributor

rhdunn commented Feb 10, 2017

The issue

A SVC-FILOPN error (e.g. File open error: open '.../src/app/controllers/index.@ml.controller-ext': No such file or directory) occurs when using the filesystem as the module database.

This occurs because of the line:

declare variable $c:CTRL-EXT := ("@ml.controller-ext", $def:CTRL-EXT)[1];

When uploaded to the modules database, @ml.controller-ext is replaced with the revelant property value. When running on the filesystem, the @ml.controller-ext value is used as is.

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)?

1.7.5

@dmcassel
Copy link
Collaborator

Thanks for filing, I'll look into this

dmcassel added a commit that referenced this issue Feb 10, 2017
issue #736: fix CTRL-EXT from a filesystem modules DB
@dmcassel
Copy link
Collaborator

thanks for the PR @rhdunn. fixed in dev

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
@grtjn grtjn assigned rhdunn and unassigned dmcassel Jun 9, 2017
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