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

Capturing full config on env with odbc servers fails #268

Closed
grtjn opened this issue Aug 22, 2014 · 2 comments
Closed

Capturing full config on env with odbc servers fails #268

grtjn opened this issue Aug 22, 2014 · 2 comments
Labels
Milestone

Comments

@grtjn
Copy link
Contributor

grtjn commented Aug 22, 2014

Doing ./ml env capture --full-ml-config on an environment that has odbc servers triggers a piece of code with an eval that contains a flaw. The resulting error is:

"error": {
"evalinfo": "query evaluated in App-Services at file:: as  1.0-ml",
"errorcode": "[1.0-ml] XDMP-UNBPRFX: (err:XPST0081) Prefix gr has no namespace binding",
"stacktrace": {
  "stack": [
    {
      "errorline": "13",
      "errorcolumn": "32",
      "lines": [
        "distributed under the License is distributed on an \"AS IS\" BASIS,",
        "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.",
        "See the License for the specific language governing permissions and",
        "limitations under the License.",
        ":)"
      ],
      "operation": "xdmp:eval(\"
          import module namespace admin = "http://mark...\", (fn:QName(\"\", \"default-group\"), xs:unsignedLong(\"7786746982640617900\"), fn:QName(\"\", \"default-modules\"), ...))",
      "errorDatum": ""
    },
    {
      "errorline": "4525",
      "errorcolumn": "8",
      "lines": [

Line number 4525 refers to an xdmp:eval in setup:strip-default-properties-from-odbc-server of deploy/lib/xquery/setup.xqy. That eval is missing this ns declaration:

declare namespace gr="http://marklogic.com/xdmp/group";
@grtjn
Copy link
Contributor Author

grtjn commented Aug 26, 2014

Fixed this as well, will include in pull request..

@paxtonhare
Copy link
Contributor

fixed in dev

@paxtonhare paxtonhare modified the milestone: v1.6 Oct 31, 2014
@grtjn grtjn added the capture label Feb 20, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants