Revert component def mismatches to error from warning.

@bug W-2088005@
Merging origin/bob/master-pending/error-on-mismatch into master