Bug 753060

Summary: Missing layouts/error template
Product: [Retired] CloudForms Cloud Engine Reporter: Jan Provaznik <jprovazn>
Component: aeolus-conductorAssignee: Imre Farkas <ifarkas>
Status: CLOSED WORKSFORME QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, athomas, dajohnso, deltacloud-maint, dgao, ifarkas, ssachdev
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-29 12:17:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jan Provaznik 2011-11-11 08:13:38 UTC
Description of problem:
When an exception is raised in conductor, html_error_page in application controller tries to render layouts/error page. There is no this template defined, so no error is displayed. Backtrace:

ActionView::MissingTemplate (Missing template layouts/error with {:formats=>[:html], :locale=>[:en, :en], :handlers=>[:erb, :builder, :haml]}. Searched in:
  * "/home/jprovazn/devel/conductor/src/app/views"
):
  app/controllers/application_controller.rb:95:in `html_error_page'
  app/controllers/application_controller.rb:83:in `handle_error'
  app/controllers/application_controller.rb:82:in `handle_error'
  app/controllers/application_controller.rb:73:in `handle_general_error'


We should add layout/error and layout/popup-error templates.