Display readable error in case of naming conflict when sharing datasets

Description

If you try to share a dataset with a project that already have a dataset of the same name, the operation will succeed but no data will show up in the shared dataset and no error is displayed to the user unless the user opens the dev-console.

Instead of propagating the error in the facade "javax.persistence.NonUniqueResultException" into a generic internal-system-error, a human-readable error code and message should be returned.

Assignee

Kim Hammar

Reporter

Kim Hammar

Labels

None

Fix versions

Priority

Medium
Configure