Given:
A collection with a data source and at least one report making use of that data source and all it's tenants.
When:
I update the data source and e.g. deselect some tenants.
Then:
I get a conflict response with the errorCode `serverError`:
{ "errorCode" : "serverError", "errorMessage" : "An internal server error occurred.", "detailedMessage" : "Operation cannot be executed as other entities would be affected.", "conflictedItems" : [ { "id" : "88b04cea-4441-4460-873c-c3b63b97891d", "type" : "report", "name" : "Johns Report" } ] }
Expected:
I get a conflict response listing the report that would get updated/removed if I force the update.
{ "errorCode" : "collectionConflict", "errorMessage" : "Could not apply the collection changes due to conflicts.", "detailedMessage" : "Operation cannot be executed as other entities would be affected.", "conflictedItems" : [ { "id" : "88b04cea-4441-4460-873c-c3b63b97891d", "type" : "report", "name" : "Johns Report" } ] }