bug when using filter on author/title/file
When using the filter, the reult is always 0 Documents. In the logging:
2017-06-21 13:13:14,865 [qtp1053744929-117] ERROR (DeferredFunctionCall.java [hasMany]:170) - Exception in deferred function: exerr:ERROR XPTY0004: The actual cardinality for parameter 1 does not match the cardinality declared in the function's signature: tpu:parse-pi($doc as document-node(), $view as xs:string?) item()*. Expected cardinality: exactly one, got 0. [at line 102, column 33, source: /db/apps/tdb/modules/lib/pages.xql] In function: tpu:parse-pi(document-node(), xs:string?) [102:20:/db/apps/tdb/modules/lib/util.xql] pages:load-xml(xs:string?, xs:string?, xs:string) [70:9:/db/apps/tdb/modules/lib/pages.xql] pages:load(node(), map, xs:string, xs:string?, xs:string?, xs:string?) [225:18:/db/apps/tdb/modules/lib/pages.xql]
Tested using master branche on exist 3.2, but I recall I never saw this feature work with other versions either.