Improve error message when an item is registred in duplicate
|Reported by:||Nicklas Nordborg||Owned by:||Nicklas Nordborg|
This happens very rarely. The typical use case is that two users is registering something new at the same time. For example, one user is registering a consent and another is registering a referral form. This could lead to an error message:
Case 'xxxx' has already been registered by <the other user>.
It would be nice to have some time information here if possible since it would be easier to realize that the error is a result from simultaneous registration and not a bug, permission issue or something else. For example:
Case 'xxxx' has already been registered by <the other user> 1 minute ago.