Actions
Bug #24345
closedBreadcrumbs isn't refreshed properly after visiting host edit form
Description
reproducing steps:
go to hosts > click edit > click submit > click the breadcrumb sibling selector and pick another host.
its lands in another_host/edit because it uses the breadcrumb-bar from the previews mounting.
another instance:
go to hosts > click edit > open a resource switcher, close it > click submit > click the breadcrumb sibling selector and pick another host, you end up in host instead of show.
This was partially workarounded by #23290 but then reverted because it caused a regression with vmware provisioning. As stated in the reverting PR, the real cause is probably not turbolinks+react, adding the comment here too
The real cause of wrong links in bredcrumb switcher is that we don't detect when switcherItemUrl changes and cached items should be reloaded. This condition should be updated to check it: https://github.com/theforeman/foreman/blob/develop/webpack/assets/javascripts/react_app/components/BreadcrumbBar/BreadcrumbBar.js#L17-L19
Updated by Marek Hulán over 6 years ago
- Copied from Bug #23290: React + Turbolinks integration break when submitting forms added
Updated by Marek Hulán over 6 years ago
- Related to Bug #24320: Unable to provision on Vmware, no storage data submitted added
Updated by The Foreman Bot almost 6 years ago
- Pull request https://github.com/theforeman/foreman/pull/6382 added
Updated by The Foreman Bot almost 6 years ago
- Status changed from New to Ready For Testing
Updated by Walden Raines almost 6 years ago
- Assignee changed from Avi Sharvit to Maria Agaphontzev
Updated by Anonymous over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset c79888abb245feeace94d81ade769c8deab28391.
Actions