Bug 1532340 - Can't remove multiple instances or methods in UI.
Summary: Can't remove multiple instances or methods in UI.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.10.0
Assignee: Harpreet Kataria
QA Contact: Nandini Chandra
URL:
Whiteboard:
: 1532538 (view as bug list)
Depends On:
Blocks: 1552741
TreeView+ depends on / blocked
 
Reported: 2018-01-08 17:17 UTC by William Fitzgerald
Modified: 2019-02-11 14:04 UTC (History)
8 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1552741 (view as bug list)
Environment:
Last Closed: 2019-02-11 14:04:44 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Multiple methods not removed (83.65 KB, image/png)
2018-01-08 17:17 UTC, William Fitzgerald
no flags Details
screen shot after multiple methods were deleted (51.98 KB, image/png)
2018-11-15 22:57 UTC, Nandini Chandra
no flags Details

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


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