Avoid creating later discarded violations when reportAsSingleViolation is true

Description

We create unnecessary constraint violations and unnecessarily translate messages (which was an issue with the OP of the issue at the origin of this JIRA).

Environment

None

Status

Assignee

Marko Bekhta

Reporter

Guillaume Smet

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major
Configure