Skip to content

Internal server error for mismatched relatedIdentifier and relatedIdentifierType #9

@marksparkza

Description

@marksparkza

Metadata validation currently does not pick up mismatched relatedIdentifier and relatedIdentifierType (see SAEON/odp-core#18).

When the type is DOI but the identifier is not, then the doi template filter returns None and so doi.startswith in the _render_related_identifier macro bombs out, producing an internal server error in the MIMS catalog.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions