On Wed, Sep 18, 2019 at 02:18:48PM -0400, Shawn Kiewel wrote: > I’m attempting to import an item using the Simple Archive Format. The import > tool correctly processes all metadata files and content files in the item > directory, however it then gives the following error: > > Processing handle file: handle > > It appears there is no handle file -- generating one > > java.sql.SQLException: bad_dublin_core schema=SCHEMA.ELEMENT.QUALIFIER. > Metadata field does not exist! > > Grepping dspace.cfg for possible entries like that revealed only the defaults > for the embargo fields, which I have overridden in local.cfg as follows: > > embargo.field.terms = local.embargo.terms > > embargo.field.liftdate = local.embargo.liftdate > > These fields are defined in config/registries/local-types.xml, and the > MetadataImporter was run on that file. metadata_local.xml is being parsed > correctly, according to the output. > > I’m at a loss where else to look for an undefined SCHEMA.ELEMENT.QUALIFIER > string.
I don't have an answer, but I find that the exception is only thrown
in two places: in org.dspace.content.DSpaceObjectServiceImpl:
./content/DSpaceObjectServiceImpl.java:211: throw new
SQLException("bad_dublin_core schema=" + schema + "." + element + "." +
qualifier + ". Metadata field does not exist!");
./content/DSpaceObjectServiceImpl.java:223: throw new
SQLException("bad_dublin_core schema=" + schema + "." + element + "." +
qualifier + ". Metadata field does not exist!");
So the literal "SCHEMA", "ELEMENT", "QUALIFIER" are being passed in
from somewhere. I wonder if there is something in local.cfg which is
interfering with the parsing of the overriding definition, possibly
causing parsing to halt before reaching it, or perhaps a problem with
quotation.
--
Mark H. Wood
Lead Technology Analyst
University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu
--
All messages to this mailing list should adhere to the DuraSpace Code of
Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dspace-tech/20190919151532.GB2953%40IUPUI.Edu.
signature.asc
Description: PGP signature
