Skip to content

adminEmail field invalid in OAI-PMH Identify response #3619

@tdilauro

Description

@tdilauro

Unless the :SystemEmail setting contains only a mailbox addr-spec (just the address, no spaces or angle brackets), the Dataverse 4 OAI-PMH provider will return an invalid value for the adminEmail field, since that field should not contain a mailbox display name.

For example, the sample command in the :SystemEmail section of the Configuration section of the Installation Guide:

curl -X PUT -d "Support <support@example.edu>" http://localhost:8080/api/admin/settings/:SystemEmail

would result in this error.

Ideally, the OAI-PMH provider code would check for a value ending in "<.*>" and, if present, emit only the string between the angle brackets (i.e., like to sed -e 's/^[^<]*<\([^>]*\)>$/\1/ ').

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions