Description of problem:
Version-Release number of selected component (if applicable):
5.6.1.0
How reproducible:
Always
Steps to Reproduce:
1. Add a rhevm provider without API Port set
2. Edit that provider name/IP
3. Try to validate it
Actual results:
It doesn't get validated, because API Port is filled in with "5000".
So everytime I edit it I have to delete predefined port 5000.
Expected results:
No API Port filled in when editing provider without port set in creation.
Additional info:
1) I added rhevm provider with port blank. (In summary is API Port blank)
2) I tried to edit rhevm provider then.
3) Now I see API Port field pre-filled with port 5000
4) I can't validate it, so I must clear that port field.
Verified on:
CFME-5.7.0.1.20160913164703_66caf07
RHV-4.0.3-0.1.el7ev
1) Added rhevm provider with port blank. (In summary is API Port blank)
2) Edited rhevm provider to another IP address & password.
3) API Port field was empty, and I left it that way.
4) validate for the new values was successful.
5) Save of the data successful as well.
6) Refresh for the new setup data was displayed OK.
** Not sure this bug addresses the attached Red Hat Customer Portal case ID 01671420.
This case seem more related to bug 1370208, where it is also attached.