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 has been 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.
The text was updated successfully, but these errors were encountered:
joecrean
pushed a commit
to joecrean/smart-mastering-core
that referenced
this issue
Sep 27, 2019
arises when entity definition has a flat stucture - existing code
strips out the last path component resulting in an empty path being
passed to xdmp:unpath
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Trying to merge some documents using xquery in query console.
The call to
merging:build-merge-models-by-uri
results in the following exceptionSpecifically
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 functionget-instance-props-by-path
.Here is the link to the line of code - the variable
middle-path
is 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-join
call 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
unpath
call and at that point throwsthe above exception.
The text was updated successfully, but these errors were encountered: