OpenGeoportal/ogpHarvester — pull request #71 by chrissbarnett (2014-04-04 19:10:57+00:00)
Title: Fix: Selecting “Geographic Extent” in the required fields section

doesn’t behave as expected. On a harvest with “Geographic Extent” set
as a required field, all records showed as “passed” even though a large
number were missing bounds. In Solr, the records show with bounds
[0,0,0,0]. When viewing ingest details to look at the query
terms/required terms after the ingest is complete, “Geographic Extent”
was unchecked. To fix, changed all instances of "extent" for required
fields to "geographicExtent".

Fix: "Web Services" required field didn't work, since MetadataValidator
just looks for an empty string and the code that creates the Location
json string always returns at least an empty object ("{}"). Changed the
code to return an empty string for an empty Location object.

Fix: typo in csw.jsp "ingestExternalRecords.form.custoCswQuery" to
"ingestExternalRecords.form.customCswQuery"

Change: “Web Services” is missing as a required field for all but the
OGP ingest. “Data Repository” doesn’t make sense as a required field in
the non-OGP ingests, since the user must set the repository name.
Removed "Data Repository" as a required field and added "Web Services"
where appropriate.