a1dert/lh-tickets-test — Issue #58: Exception caught when user try to save appraisal template without title
Author: a1dert
Created: 2011-11-30 11:37:43+00:00
State: open

Imported from lighthouse. Original ticket at: http://redtape.lighthouseapp.com/projects/59696/tickets/497. Created by Alexey Derkach - 2011-09-20T15:14:49Z

Steps to reproduce:
1. Go to Settings → Appraisals page.
2. Press “New template” button.
3. Leave field ‘Title’ empty.
4. Press “Save” button.

Expected: user should be informed about empty template name.
Actual: exception caught.

Details:
Action Controller: Exception caught
@@@ ruby
Template is missing
Missing template admin/settings/poll_template_factories/error with {:formats=>[:js, :html], :locale=>[:en, :en], :handlers=>[:builder, :rjs, :erb, :rhtml, :rxml]} in view paths "/var/www/apps/redtape/staging/releases/20110916145619/app/views", "/var/www/apps/redtape/staging/shared/bundle/ruby/1.8/gems/kaminari-0.12.4/app/views", "/var/www/apps/redtape/staging/shared/bundle/ruby/1.8/gems/devise_invitable-0.5.2/app/views", "/var/www/apps/redtape/staging/shared/bundle/ruby/1.8/gems/devise-1.4.2/app/views"
@@@

According to: [story 7809](https://tracker.anahoret.com/projects/44/stories/7809 "story 7809")