Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1519359 - Azure provider allows validation with no Subscription ID
Summary: Azure provider allows validation with no Subscription ID
Keywords:
Status: POST
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: GA
: 5.11.0
Assignee: Richard Vsiansky
QA Contact: Angelina Nikiforova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-30 16:09 UTC by Russ Builta
Modified: 2019-04-05 20:09 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Category: Bug
Cloudforms Team: CFME Core


Attachments (Terms of Use)

Description Russ Builta 2017-11-30 16:09:08 UTC
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:

Comment 2 Bronagh Sorota 2018-03-21 17:05:53 UTC
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.

Comment 8 CFME Bot 2019-03-21 13:12:52 UTC
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@seznam.cz>
AuthorDate: Wed Mar 20 10:10:43 2019 -0400
Commit:     Richard Vsiansky <r.vsia@seznam.cz>
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(+)


Note You need to log in before you can comment on or make changes to this bug.