Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cardinality issue sorting in browse indexes #10

Open
dizzzz opened this issue Nov 16, 2014 · 3 comments
Open

Cardinality issue sorting in browse indexes #10

dizzzz opened this issue Nov 16, 2014 · 3 comments
Labels
awaiting response More information is needed in order to reproduce the issue.

Comments

@dizzzz
Copy link
Member

dizzzz commented Nov 16, 2014

stack trace:

exerr:ERROR XPTY0004: The actual cardinality for parameter 1 does not match the cardinality declared in the function's signature: concat($atomizable-values as xs:anyAtomicType?, ...) xs:string?. Expected cardinality: zero or one, got 2. [at line 755, column 54, source: /db/apps/monex/modules/indexes.xqm]
In function:
    indexes:remove-parameter-names(item()*, item()*) [752:9:/db/apps/monex/modules/indexes.xqm]
    indexes:remove-parameter-names(item()*) [248:65:/db/apps/monex/modules/indexes.xqm]
    indexes:show-index-keys(node(), map) [32:9:/db/apps/monex/modules/indexes.xqm]
    templates:call-with-args(function, function*, element(), map) [208:13:/Users/wessels/Library/Application Support/org.exist/expathrepo/shared-0.4.0/content/templates.xql]
    templates:process-output(element(), map, item()*, element()) [205:9:/Users/wessels/Library/Application Support/org.exist/expathrepo/shared-0.4.0/content/templates.xql]
    templates:call-by-introspection(element(), map, map, function) [187:28:/Users/wessels/Library/Application Support/org.exist/expathrepo/shared-0.4.0/content/templates.xql]
    templates:call(item(), element(), map) [143:37:/Users/wessels/Library/Application Support/org.exist/expathrepo/shared-0.4.0/content/templates.xql]
    templates:process(node()*, map) [277:13:/Users/wessels/Library/Application Support/org.exist/expathrepo/shared-0.4.0/content/templates.xql]
    templates:process-output(element(), map, item()*, element()) [205:9:/Users/wessels/Library/Application Support/org.exist/expathrepo/shared-0.4.0/content/templates.xql]
    templates:call-by-introspection(element(), map, map, function) [187:28:/Users/wessels/Library/Application Support/org.exist/expathrepo/shared-0.4.0/content/templates.xql]
    templates:call(item(), element(), map) [135:36:/Users/wessels/Library/Application Support/org.exist/expathrepo/shared-0.4.0/content/templates.xql]
    templates:process(node()*, map) [146:81:/Users/wessels/Library/Application Support/org.exist/expathrepo/shared-0.4.0/content/templates.xql]
    templates:process(node()*, map) [146:81:/Users/wessels/Library/Application Support/org.exist/expathrepo/shared-0.4.0/content/templates.xql]
    templates:process(node()*, map) [146:81:/Users/wessels/Library/Application Support/org.exist/expathrepo/shared-0.4.0/content/templates.xql]
    templates:process(node()*, map) [146:81:/Users/wessels/Library/Application Support/org.exist/expathrepo/shared-0.4.0/content/templates.xql]
    templates:process(node()*, map) [462:17:/Users/wessels/Library/Application Support/org.exist/expathrepo/shared-0.4.0/content/templates.xql]
    templates:surround(node(), map, xs:string, xs:string?, xs:string?, xs:string?) [32:9:/Users/wessels/Library/Application Support/org.exist/expathrepo/shared-0.4.0/content/templates.xql]
    templates:call-with-args(function, function*, element(), map) [208:13:/Users/wessels/Library/Application Support/org.exist/expathrepo/shared-0.4.0/content/templates.xql]
    templates:process-output(element(), map, item()*, element()) [205:9:/Users/wessels/Library/Application Support/org.exist/expathrepo/shared-0.4.0/content/templates.xql]
    templates:call-by-introspection(element(), map, map, function) [187:28:/Users/wessels/Library/Application Support/org.exist/expathrepo/shared-0.4.0/content/templates.xql]
    templates:call(item(), element(), map) [135:36:/Users/wessels/Library/Application Support/org.exist/expathrepo/shared-0.4.0/content/templates.xql]
    templates:process(node()*, map) [131:51:/Users/wessels/Library/Application Support/org.exist/expathrepo/shared-0.4.0/content/templates.xql]
    templates:process(node()*, map) [88:9:/Users/wessels/Library/Application Support/org.exist/expathrepo/shared-0.4.0/content/templates.xql]
    templates:apply(node()+, function, map?, map?) [43:5:/Users/wessels/Library/Application Support/org.exist/expathrepo/shared-0.4.0/content/templates.xql]
@jensopetersen
Copy link
Contributor

Does https://github.com/wolfgangmm/monex/pull/13 fix this, @dizzzz ?

@joewiz
Copy link
Member

joewiz commented Mar 13, 2017

@dizzzz Do you have an update on this? A likely fix, #13, was merged in. If you can confirm, we can close this issue.

@dizzzz
Copy link
Member Author

dizzzz commented Mar 15, 2017

Ok I'll check

@line-o line-o added the awaiting response More information is needed in order to reproduce the issue. label Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response More information is needed in order to reproduce the issue.
Projects
None yet
Development

No branches or pull requests

4 participants