Description of problem: When editing the Azure provider - you can delete the Subscription ID, validate and save. The validation works as well as "Refresh Relationships and Power States" Version-Release number of selected component (if applicable): How reproducible: Everytime Steps to Reproduce: 1. Add Azure provider 2. Edit Azure provider and remove the Subscription ID 3. Validate 4. Save 5. Refresh Relationships and Power States Actual results: Validation succeeds and allows save Expected results: Should fail with no Subscription ID Additional info:
I think the subscription ID on an existing provider should be read only. Modifying the subscription id value on an existing EMS would alter the inventory we collect from the provider. Sending to the UI team.
https://github.com/ManageIQ/manageiq-ui-classic/pull/5359
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/95df1ce6912b8498258212f72aeeb1f4c5c3aa11 commit 95df1ce6912b8498258212f72aeeb1f4c5c3aa11 Author: Richard Vsiansky <r.vsia> AuthorDate: Wed Mar 20 10:10:43 2019 -0400 Commit: Richard Vsiansky <r.vsia> CommitDate: Wed Mar 20 10:10:43 2019 -0400 Subscription ID is required when adding, readOnly when editing (Azure) fixes https://bugzilla.redhat.com/show_bug.cgi?id=1519359 app/views/shared/views/ems_common/angular/_form.html.haml | 4 + 1 file changed, 4 insertions(+)
Fixed and verified in 5.11.0.2.20190430174828_0e34dea. Subscription ID is a read only field when editing Azure provider.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:4199