Bug 1637609
| Summary: | Link in the alert for infrastructure provider leads to Containers Providers page with an error | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Angelina Vasileva <anikifor> |
| Component: | UI - OPS | Assignee: | Harpreet Kataria <hkataria> |
| Status: | CLOSED ERRATA | QA Contact: | John Dupuy <jdupuy> |
| Severity: | high | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> |
| Priority: | high | ||
| Version: | 5.9.5 | CC: | dmetzger, hkataria, jdupuy, jocarter, lavenel, mpovolny, myoder, obarenbo, simaishi, smallamp |
| Target Milestone: | GA | ||
| Target Release: | 5.10.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | 5.10.0.21 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-02-07 23:03:44 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: | |||
|
Description
Angelina Vasileva
2018-10-09 14:53:36 UTC
I haven't worked on the MIQ UI in quite some time. I'm not sure I'm the appropriate assignee for this. New commits detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/efa4d7ab96a8850373bf7604be0081c8e6892408 commit efa4d7ab96a8850373bf7604be0081c8e6892408 Author: Harpreet Kataria <hkataria> AuthorDate: Thu Oct 11 15:31:15 2018 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Thu Oct 11 15:31:15 2018 -0400 Fixed links to point to correct provider controller based upon type. Added a method in restful_redirect_controller that can be called from JS service to determine provider link. Moved fallback code to redirect to dashboard show with flash message out of switch. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1637609 app/assets/javascripts/services/alerts_center_service.js | 3 +- app/controllers/restful_redirect_controller.rb | 13 +- 2 files changed, 11 insertions(+), 5 deletions(-) https://github.com/ManageIQ/manageiq-ui-classic/commit/c186097539fbd310d7d9890a38ee61a297e94339 commit c186097539fbd310d7d9890a38ee61a297e94339 Author: Harpreet Kataria <hkataria> AuthorDate: Thu Oct 18 16:58:01 2018 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Thu Oct 18 16:58:01 2018 -0400 redirect and show flash when VM record is missing. Added controller spec tests Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1637609 app/controllers/restful_redirect_controller.rb | 21 +- spec/controllers/restful_redirect_controller_spec.rb | 47 + 2 files changed, 61 insertions(+), 7 deletions(-) New commit detected on ManageIQ/manageiq-ui-classic/hammer: https://github.com/ManageIQ/manageiq-ui-classic/commit/74bee4611f3f701727228a28df158d69e5a69cc4 commit 74bee4611f3f701727228a28df158d69e5a69cc4 Author: Milan Zázrivec <mzazrivec> AuthorDate: Mon Oct 22 11:14:47 2018 -0400 Commit: Milan Zázrivec <mzazrivec> CommitDate: Mon Oct 22 11:14:47 2018 -0400 Merge pull request #4760 from h-kataria/fixed_provider_links_on_alerts_list Fixed links to point to correct provider controller based upon type. (cherry picked from commit 5a0d67dfaa4c729ceb5defa30147767b18e6a9ea) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1637609 app/assets/javascripts/services/alerts_center_service.js | 3 +- app/controllers/restful_redirect_controller.rb | 34 +- spec/controllers/restful_redirect_controller_spec.rb | 47 + 3 files changed, 72 insertions(+), 12 deletions(-) The same is found in 5.9.5.3.20181023135339_256263f Verified in 5.10.0.21.20181023151612_4c11b0d. Link in the alert for infrastructure provider leads to this Provider's page. Will this be fixed for 5.9z? *** Bug 1647525 has been marked as a duplicate of this bug. *** @Dennis, @Loic - QE(Angelina) and Customer reported this issue on 5.9.5 and 5.9.4.7. @josh - What do you think about back porting this to 5.9.6?? Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:0212 |