srophe / syriaca

Public respository for Syriaca.org: The Syriac Reference Portal
GNU General Public License v3.0
3 stars 1 forks source link

Bug: cardinality set to multiple values #180

Open emgeier opened 2 weeks ago

emgeier commented 2 weeks ago

This error is thrown frequently as well: ERROR (DeferredFunctionCall.java [hasMany]:172) - Exception in deferred function: err:XPTY0004 cardinality error: sequence with more than one item is not allowed here [at line 132, column 71, source: /db/apps/syriaca/modules/search/search.xqm]

You can set the cardinality to the first value in the sequence or do some type checking to fix this.