Bug 1532340
| Summary: | Can't remove multiple instances or methods in UI. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | William Fitzgerald <wfitzger> | ||||||
| Component: | UI - OPS | Assignee: | Harpreet Kataria <hkataria> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Nandini Chandra <nachandr> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 5.9.0 | CC: | cpelland, gmccullo, hkataria, lavenel, mkanoor, mpovolny, nachandr, obarenbo | ||||||
| Target Milestone: | GA | Keywords: | 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: |
|
||||||||
https://github.com/ManageIQ/manageiq-ui-classic/blob/dee7ecf8bfa8b734c0ea26a86eeecc4adb927719/app/controllers/application_controller/ci_processing.rb#L114 Wont work for Automate Model because there is no RBAC support for it. *** Bug 1532538 has been marked as a duplicate of this bug. *** 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(-) Verified in 5.10.0.23 Created attachment 1506289 [details]
screen shot after multiple methods were deleted
|
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.