When minting via API the DOI is not trimmed on whitespaces. This allows minting a DOI with a trailing space.
Because of the weird comparison behaviour of MySQL (see BINARY operator), this request is matching an already existing DOI in the MDS db without trailing space (e.g. created by uploading metadata beforehand). The actual handle minting request done with trailing space. This creates a total mess.
When minting via API the DOI is not trimmed on whitespaces. This allows minting a DOI with a trailing space.
Because of the weird comparison behaviour of MySQL (see BINARY operator), this request is matching an already existing DOI in the MDS db without trailing space (e.g. created by uploading metadata beforehand). The actual handle minting request done with trailing space. This creates a total mess.