Project

General

Profile

Actions

Bug #23225

closed

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

Added by Tomer Brisker about 6 years ago. Updated almost 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 #1

Updated by Tomer Brisker about 6 years ago

  • Related to Feature #22855: Add redux container for breadcrumb switcher added
Actions #2

Updated by The Foreman Bot about 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5437 added
Actions #3

Updated by Tomer Brisker about 6 years ago

  • translation missing: en.field_release set to 330
Actions #4

Updated by Amir Fefer about 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF