Bug 1532340

Summary: Can't remove multiple instances or methods in UI.
Product: Red Hat CloudForms Management Engine Reporter: William Fitzgerald <wfitzger>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED CURRENTRELEASE QA Contact: Nandini Chandra <nachandr>
Severity: medium Docs Contact:
Priority: high    
Version: 5.9.0CC: cpelland, gmccullo, hkataria, lavenel, mkanoor, mpovolny, nachandr, obarenbo
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1552741 (view as bug list) Environment:
Last Closed: 2019-02-11 14:04:44 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: 1552741    
Attachments:
Description Flags
Multiple methods not removed
none
screen shot after multiple methods were deleted none

Description William Fitzgerald 2018-01-08 17:17:09 UTC
Created attachment 1378626 [details]
Multiple methods not removed

Description of problem:  I can't remove multiple methods or instances in the UI.


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

5.9.0.15 - Latest Sprout downstream appliance
How reproducible:
100%

Steps to Reproduce:
1.  Copy multiple methods and/or instances to a writable domain.
2.  Try to remove multiple methods
3.

Actual results:
Methods are not removed.

Expected results:
Methods should be removed

Additional info:
Attaching screenshot
The message is the screenshot is wrong.  Delete was unsuccessful and the method name is wrong.

Comment 3 Greg McCullough 2018-01-09 14:45:48 UTC
*** Bug 1532538 has been marked as a duplicate of this bug. ***

Comment 5 CFME Bot 2018-01-26 09:16:48 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/d49b403d140b7ed9df08a93c2dd68807c04de3e8

commit d49b403d140b7ed9df08a93c2dd68807c04de3e8
Author:     Harpreet Kataria <hkataria>
AuthorDate: Thu Jan 25 15:25:19 2018 -0500
Commit:     Harpreet Kataria <hkataria>
CommitDate: Thu Jan 25 15:51:03 2018 -0500

    Fixed variable name
    
    - Fixed name of variable that is being pushed into aeinstances and aemethods arrays respectively. In both occurrences item[1] was being reset by item = find_xxx command.
    
    - Added spec test to verify that both instance and method delete is successful from both list view and detail screens.
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1532340

 app/controllers/miq_ae_class_controller.rb       |  4 +-
 spec/controllers/miq_ae_class_controller_spec.rb | 77 ++++++++++++++++++++++++
 2 files changed, 79 insertions(+), 2 deletions(-)

Comment 7 Nandini Chandra 2018-11-15 22:55:03 UTC
Verified in 5.10.0.23

Comment 8 Nandini Chandra 2018-11-15 22:57:46 UTC
Created attachment 1506289 [details]
screen shot after multiple methods were deleted