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.
Any suggestions would be most appreciated.
Shawn

--
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 dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/9318360E-E795-4209-B4F9-E9C883C1F5C1%40gmail.com.
Yes they are.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/9535C865-0378-46EF-BAE3-C2F4140C8F0F%40gmail.com.
Yes, and it is being processed properly according to the output. See this gist which is the full output:https://gist.github.com/smkiewel/af6b3eaa8f701d4b2a5ae0c865ed82bc
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/F0EAB8A0-CBEF-4123-AEAF-4BFDE0E315F6%40gmail.com.
Yes, I saw that string in dspace.cfg too, but I’m overriding that value in local.cfg:
embargo.field.terms = local.embargo.terms
embargo.field.liftdate = local.embargo.liftdate
Oh wait – I think I just saw it. It’s embargo.field.lift, not embargo.field.liftdate. Let’s see if that works.
Shawn
Yep, changing local.cfg to embargo.field.lift fixed it. Sorry for the fuss.
From: Shawn Kiewel <smki...@gmail.com>
Date: Thursday, September 19, 2019 at 12:36 PM
To: DSpace Technical Support <dspac...@googlegroups.com>
Subject: Re: [dspace-tech] item import issue
Yes, I saw that string in dspace.cfg too, but I’m overriding that value in local.cfg:
embargo.field.terms = local.embargo.terms
embargo.field.liftdate = local.embargo.liftdate
Oh wait – I think I just saw it. It’s embargo.field.lift, not embargo.field.liftdate. Let’s see if that works.
Shawn