Bug 1733120

Summary: No route matches for comparing Datastore's Managed VMs
Product: Red Hat CloudForms Management Engine Reporter: Hilda Stastna <hstastna>
Component: UI - OPSAssignee: Hilda Stastna <hstastna>
Status: CLOSED EOL QA Contact: Parthvi Vala <pvala>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.11.0CC: bmidwood, dmetzger, hkataria, lavenel, mpovolny, mshriver, obarenbo
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1784179 1794436 (view as bug list) Environment:
Last Closed: 2020-03-25 18:03:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1784179, 1794436    
Attachments:
Description Flags
Error after clicking on Compare Selected items from Configuration none

Description Hilda Stastna 2019-07-25 09:17:30 UTC
Created attachment 1593347 [details]
Error after clicking on Compare Selected items from Configuration

Description of problem:
It is not possible to compare selected Managed VMs, displayed in a nested list from Relationships table of a Datastore, unexpected error encountered.

Version-Release number of selected component (if applicable):
5.10.7, 5.11

How reproducible:
100%

Steps to Reproduce:
1. Go to Compute > Infrastructure > Datastores
2. Display some datastore's textual summary (click on some datastore)
3. Click on Managed VMs from Relationships table (you need some to be there)
4. Choose at least two VMs (check the checkboxes)
5. Configuration > Compare Selected items

Actual results:
Comparing the VMs does not work, error:
No route matches {:action=>"compare_miq", :controller=>"storage", :id=>"19"} [storage/button]

Expected results:
Table for comparing selected VMs should be displayed.

Additional info:
Comparing VMs under Compute > Infra > VMs works fine.

Comment 2 Hilda Stastna 2019-07-25 16:13:11 UTC
Fixing https://github.com/ManageIQ/manageiq-ui-classic/pull/5876

Comment 3 Hilda Stastna 2019-07-26 14:35:15 UTC
Moving back to original values of categories which were changed yesterday with posting my comment.
It was not intentional.

Comment 4 CFME Bot 2019-08-14 12:31:41 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/37d40fbfe11f7991f3c1d1c4dacd42715d2266cf
commit 37d40fbfe11f7991f3c1d1c4dacd42715d2266cf
Author:     Hilda Stastna <hstastna>
AuthorDate: Thu Jul 25 12:03:06 2019 -0400
Commit:     Hilda Stastna <hstastna>
CommitDate: Thu Jul 25 12:03:06 2019 -0400

    Add missing routes to compare managed VMs of a Datastore

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1733120

    Add missing routes also for ems infra and other controllers
    to fix the same issue.

 config/routes.rb | 8 +-
 1 file changed, 6 insertions(+), 2 deletions(-)