Bug 1634713
| Summary: | Power dropdown enabled for a template | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Jan Zmeskal <jzmeskal> | ||||||
| Component: | UI - OPS | Assignee: | Hilda Stastna <hstastna> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | John Dupuy <jdupuy> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 5.9.7 | CC: | anikifor, dmetzger, hkataria, hstastna, jdupuy, jzmeskal, lavenel, mpovolny, obarenbo, simaishi | ||||||
| Target Milestone: | GA | Keywords: | Automation, TestOnly, ZStream | ||||||
| Target Release: | 5.11.0 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 5.11.0.1 | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | |||||||||
| : | 1686012 (view as bug list) | Environment: | |||||||
| Last Closed: | 2019-12-13 15:09:51 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | CFME Core | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 1686012 | ||||||||
| Attachments: |
|
||||||||
|
Description
Jan Zmeskal
2018-10-01 11:59:46 UTC
Created attachment 1489029 [details]
Power dropdown enabled for a template
Created attachment 1489030 [details]
Sucess flash message after performing Power On on a template
Also, this *might* be connected to https://bugzilla.redhat.com/show_bug.cgi?id=1633727 Actually, after some more digging I found out that this is most probably 5.10 clone of https://bugzilla.redhat.com/show_bug.cgi?id=1496383 Jan, it is not possible by design to fix this according to 'Expected results' you've written. If there are different items displayed in the same list (VMs, Templates, etc.) the toolbar is enabled if the operations in the toolbar are suitable for ANY of the items. So this does work as expected. The real problem is if we click on some operation and there is no flash message about the fact that the operation is not allowed for selected item(s) (for example power operations for templates). It could be fixed only this way. What do you think? Thanks. (In reply to Hilda Stastna from comment #7) > Jan, > > it is not possible by design to fix this according to 'Expected results' > you've written. > If there are different items displayed in the same list (VMs, Templates, > etc.) the toolbar > is enabled if the operations in the toolbar are suitable for ANY of the > items. So this > does work as expected. > The real problem is if we click on some operation and there is no flash > message about the > fact that the operation is not allowed for selected item(s) (for example > power operations > for templates). It could be fixed only this way. What do you think? Thanks. Hello Hilda, I have little understanding of CFME design, so if this cannot be changed in accordance with 'Expected Results', I think your proposed solution works fine. Jan This bug is also true for 5.9.7.0.20181217174909_1f8a1d7 New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/74b2cf8b26ae7dfcc8a0d849de23f9a518976cc2 commit 74b2cf8b26ae7dfcc8a0d849de23f9a518976cc2 Author: Hilda Stastna <hstastna> AuthorDate: Mon Jan 7 07:52:04 2019 -0500 Commit: Hilda Stastna <hstastna> CommitDate: Mon Jan 7 07:52:04 2019 -0500 Fix enabling Power operations for a template Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1634713 app/controllers/application_controller/ci_processing.rb | 5 +- 1 file changed, 1 insertion(+), 4 deletions(-) Verified in CFME 5.11.0.11, selecting a power option for a template results in the proper flash message appearing. |