TRUNK-3949: Do not commit with validation errors