agile-humanities / numishare

Numishare is an open source suite of applications for managing digital cultural heritage artifacts, with a particular focus on coins and medals.
Apache License 2.0
0 stars 1 forks source link

Error getting Solr document from XQuery ingestion pipeline when re-indexing published objects #5

Open cwulfman opened 5 years ago

cwulfman commented 5 years ago

Error message appears after clicking on re-index published objects on admin form.

Stephen notes:

Seems to be working though… but the findspot info only worked when directly updated.

See: https://github.com/ewg118/numishare/issues/85 Ethan suspects that there are validation errors in our NUDS XML.

cwulfman commented 5 years ago

We've edited the NUDS, and it appears to work now.

cwulfman commented 5 years ago

The problem is still there. The only place that message appears in the Numishare code is in xforms/admin.xhtml.

<xforms:submission id="generate-add-document" method="get" replace="instance" instance="addIndex" serialization="none" resource="/numishare/{instance('control-instance')/collection-name}/ingest?identifiers={instance('control-instance')/identifiers}">

Error getting Solr document from XQuery ingestion pipeline.
cwulfman commented 5 years ago

The xforms-submit-error is returning response code 500; the solr error is that there is nothing on the input string:

org.apache.solr.common.SolrException: For input string: ""

It seems as though trying to re-index when nothing (indexable) has changed generates this error.