Manageiq-ui-classic: Wrong redirects for some actions on selected Host Aggregate

Created on 22 Oct 2019  路  5Comments  路  Source: ManageIQ/manageiq-ui-classic

There is a "wrong" redirecting after clicking on _Add_ or _Cancel_ button,for actions as adding/removing Host from Host Aggregate, editing selected Host Aggregate: we end up in a different controller to where we were before providing the action, different breadcrumbs, title etc.
Also if there are no Hosts available to be added or removed from selected Host Aggregate displayed through provider's summary, we end up in the list of providers!

See also the comment.

Steps:

  1. _Compute > Clouds > Providers_ (you need some provider there)
  2. Display some provider's Summary
  3. In _Relationships_ (Summary View), click on _Host Aggregates_
  4. Check some Host Aggregate in the list
  5. _Configuration > Add Host to Selected Host Aggregate_
  6. a) Select some Host from the drop down and click on _Add_ button
    => redirects to the Textual Summary of selected Host Aggregate! :(
    vs.
    b) Click on _Cancel_ button
    => redirects to the original list of Host Aggregates (GTL) as expected, but title, accordion and breadcrumbs are different to those before step 5 (different controller - host-aggregate, not the original one - ems_cloud)

Actual result:
After clicking on _Add_: (textual summary)
agg_summary
After clicking on _Cancel_: (list view)
cancel-actual_agg

Expected result: (no matter if clicking on _Add_ or _Cancel_)
expect

bug

All 5 comments

@hstastna was this already fixed in a PR?

I don't see any PR associated with this issue, so I would say: no, it is not fixed. But maybe somebody fixed that together with some other issue. I will test once I fix my problems with my developer setup, because I cannot test it right now due to the problems I have.

Note that I've checked this and the issue is still actual.

Was this page helpful?
0 / 5 - 0 ratings