When executing an operation that violates either the referential integrity constraints (foreign key) or the unicity of an index I get two messages.
The first signals the error from the DB and that the operation was unsuccessful.
The second states that the operation was executed.
It is correct that the operation was not executed, however the second message creates confusion to the user.
The first signals the error from the DB and that the operation was unsuccessful.
The second states that the operation was executed.
It is correct that the operation was not executed, however the second message creates confusion to the user.