What steps does it take to reproduce the issue?
#9056 changed several messages to include the dataset diplayname in quotes in the message. However the PR code assumes that the object being sent to the message is the dataset and the displayname is left blank when the object is the datasetversion. (FWIW: The bug was introduced during review in trying to avoid a null pointer for messages that don't use either of these object types.)
- What happens?
When messages are sent - they say things like Qualitative Data Repository: Dataset "" Status Change
Which version of Dataverse are you using?
5.12.1
PR to follow