where the environment variable OBJID is passed to IngestFolderJob as a (new) attribute identifier.
The problem appears to be in changeset.validate(). In update_properties_from(doc, options, format) in representable.rb, the representable.map! method seems to update a global variable represented with a set of attributes, but it ignores identifier. There seems to be a set of "blessed" attributes somewhere, and identifier isn't among them. Perhaps not surprising, as @escowles and I added it to support passing in the ark. Looks like whatever that registry of blessed identifiers needs to be updated, or another method needs to be devised to update the identifier in the ScannedResource.
e.g.,
where the environment variable OBJID is passed to
IngestFolderJob
as a (new) attributeidentifier
.The problem appears to be in changeset.validate(). In
update_properties_from(doc, options, format)
in representable.rb, therepresentable.map!
method seems to update a global variablerepresented
with a set of attributes, but it ignoresidentifier
. There seems to be a set of "blessed" attributes somewhere, andidentifier
isn't among them. Perhaps not surprising, as @escowles and I added it to support passing in the ark. Looks like whatever that registry of blessed identifiers needs to be updated, or another method needs to be devised to update the identifier in the ScannedResource.