Project

General

Profile

Actions

Bug #23225

closed

breadcrumb switcher on host show page breaks if vm tab fails to load

Added by Tomer Brisker over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

the host vm tab only catches `ActionView::Template::Error`, which works if the error is in the template rendering, but if `find_vm_by_uuid` fails it throws a `ActiveRecord::RecordNotFound` exception which isn't caught by the controller, leading to the generic controller reply which includes the entire layout - including JS which is executed and breaks all the JS on the page.


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #22855: Add redux container for breadcrumb switcherClosedAmir Fefer03/12/2018Actions
Actions

Also available in: Atom PDF