I’m using the module OAI-PMH Repository version 3.4.10 to provide OAI-PMH access to our collections.
In the Configuration there is an option ‘Add identifier for global repository’ (and a separate one for sites). Our Collection has unique identifiers in the ‘Identifier’ field and so we do not need an additional system-generated identifier to be added.
But if I set the ‘Add identifier for global repository’ to ‘None’ (same for the site version) a system identifier is still added and we end up with two ‘dc:identifier’ fields in the OAI-PMH records. (This is a problem for us, as having two identifier fields in one record is preventing another organisation from harvesting our collection).
The issue seems to be because in src/OaiPmh/Metadata/AbstractMetadata.php → singleIdentifier() the default action (which selecting ‘None’ invokes) still returns an api-based URL which is then output as an additional Identifier.
Have I misunderstood the purpose of the configuration option ‘Add identifier for global repository’ - should selecting ‘None’ mean that a system-generated identifier will not be added? Or is this a problem?