srophe / caesarea

Application repository for Caesarea-Maritima.org
GNU General Public License v3.0
0 stars 0 forks source link

Bibl Browse facets raise error when faceting on multiple authors #396

Closed wlpotter closed 1 year ago

wlpotter commented 1 year ago

In the Bibl Browse (https://caesarea-maritima.org/bibl/browse.html), faceting by multiple authors causes an app error.

Single author facet: https://caesarea-maritima.org/bibl/browse.html?facet-biblAuthors=Hohlfelder& still lists additional author facet options in the left hand column. However, clicking on one of these raises an error

The resulting URL is: https://caesarea-maritima.org/bibl/browse.html?facet-biblAuthors=Holum&facet-biblAuthors=Hohlfelder&

Error message:

<?xml version="1.0" ?>
<exception>
  <path>/db/apps/caesarea/modules/view.xql</path>
  <message>templates:NotFound No template function found for call templates:load-source (Max arity of 20 has been exceeded in searching for this template function. If needed, adjust $templates:MAX_ARITY in the templates.xql module.) [at line 190, column 85, source: /exist/etc/../data/expathrepo/templating-1.0.2/content/templates.xqm]
In function:
    templates:call(item(), element(), map(*)) [144:37:/exist/etc/../data/expathrepo/templating-1.0.2/content/templates.xqm]
    templates:process(node()*, map(*)) [147:81:/exist/etc/../data/expathrepo/templating-1.0.2/content/templates.xqm]
    templates:process(node()*, map(*)) [147:81:/exist/etc/../data/expathrepo/templating-1.0.2/content/templates.xqm]
    templates:process(node()*, map(*)) [147:81:/exist/etc/../data/expathrepo/templating-1.0.2/content/templates.xqm]
    templates:process(node()*, map(*)) [147:81:/exist/etc/../data/expathrepo/templating-1.0.2/content/templates.xqm]
    templates:process(node()*, map(*)) [236:13:/exist/etc/../data/expathrepo/templating-1.0.2/content/templates.xqm]
    templates:process(node()*, map(*)) [430:17:/exist/etc/../data/expathrepo/templating-1.0.2/content/templates.xqm]
    templates:process-output(element(), map(*), item()*) [229:9:/exist/etc/../data/expathrepo/templating-1.0.2/content/templates.xqm]
    templates:process-output(element(), map(*), item()*, element(function)) [210:9:/exist/etc/../data/expathrepo/templating-1.0.2/content/templates.xqm]
    templates:call-by-introspection(element(), map(*), map(*), function(*)) [188:28:/exist/etc/../data/expathrepo/templating-1.0.2/content/templates.xqm]
    templates:call(item(), element(), map(*)) [144:37:/exist/etc/../data/expathrepo/templating-1.0.2/content/templates.xqm]
    templates:process(node()*, map(*)) [132:51:/exist/etc/../data/expathrepo/templating-1.0.2/content/templates.xqm]
    templates:process(node()*, map(*)) [89:9:/exist/etc/../data/expathrepo/templating-1.0.2/content/templates.xqm]
    templates:apply(node()+, function(*), map(*)?, map(*)?) [49:5:/exist/etc/../data/expathrepo/templating-1.0.2/content/templates.xqm]
  </message>
</exception>