-
Notifications
You must be signed in to change notification settings - Fork 1
Harvest does not work with registry manager #2
Comments
Sorry, I had created that on Thursday but that has not been saved from some reason. These data are packaged with the pds-app-registry release, in the "test" subdirectory. |
Added validation for empty lid and vid fields and optional -stopOnError flag. See Issue #22 in Harvest. By default invalid PDS4 labels are skipped with an error message. To stop on error use new -stopOnError flag. |
The reason for the error I initially had with the example dataset is that there are 2 versions of the same dataset (archive and products) in the package. I should not harvest both directories, only archive. I am updating the test guide and creating the package with that. |
The test doc is updated so that the harvest works on the test datasets. |
closed per #105 |
Describe the bug
When i follow the test procedure for the registry app, the record produced by harvest cannot be saved in registry with the registry manager command
To Reproduce
Steps to reproduce the behavior:
$ registry-manager load-data -filePath ~/tmp/harvest_result00/
Loading file: /Users/loubrieu/tmp/harvest_result00/solr-docs.xml
ERROR: Error from server at http://localhost:8983/solr: ERROR: [doc=::] Error adding field 'vid'='' msg=empty String
Expected behavior
No error, the record should be inserted in the registry.
** Version of Software Used**
harvest 3.2.0
registry 3.2.0
pds-app-registry 0.1.0
jdk 11
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: