You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 9, 2022. It is now read-only.
Specifically In /com.marklogic.smart-mastering/survivorship/merging/base.xqy on line 1761
It boils down to passing an empty string to xdmp:unpath in the function get-instance-props-by-path.
Here is the link to the line of code - the variable middle-path is empty.
In my case i have a simple Entity structure in a standard envelope structure (DHF 411).
e.g. /es:envelope/es:instance/FooEntity/keyword. The string-join call on 1578 excludes the last
member of the tokenised sequence and thus the only member of that sequence in my case thus resulting in an empty sequence which is passed into the unpath call and at that point throws
the above exception.
Trying to merge some documents using xquery in query console.
The call to
merging:build-merge-models-by-uriresults in the following exceptionSpecifically
In /com.marklogic.smart-mastering/survivorship/merging/base.xqy on line 1761It boils down to passing an empty string to
xdmp:unpathin the functionget-instance-props-by-path.Here is the link to the line of code - the variable
middle-pathis empty.smart-mastering-core/src/main/ml-modules/root/com.marklogic.smart-mastering/survivorship/merging/base.xqy
Line 1586 in c77acfe
In my case i have a simple Entity structure in a standard envelope structure (DHF 411).
e.g.
/es:envelope/es:instance/FooEntity/keyword. Thestring-joincall on 1578 excludes the lastmember of the tokenised sequence and thus the only member of that sequence in my case thus resulting in an empty sequence which is passed into the
unpathcall and at that point throwsthe above exception.