Bug #468

when about.markdown is not present in a theme: ignore the theme instead of generating an error

Added by dl-shoob-com - 1166 days ago. Updated 790 days ago.

Status :Closed Start :
Priority :Normal Due date :
Assigned to :tobi - % Done :

0%

Category :admin
Target version :2.5
Resolution :

fixed


Description

Errno::ENOENT (No such file or directory - /var/www/htdocs/shoob/domains/olivierwitmeur.shoob.com/public/../config/..//themes/template_pink/about.markdown):
/app/models/theme.rb:16:in @read'
/app/models/theme.rb:16:in @description'
app/controllers/admin/themes_controller.rb:6:in @index'
app/controllers/admin/themes_controller.rb:5:in @each'
app/controllers/admin/themes_controller.rb:5:in @index'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:756:in @send'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:756:in @perform_action_without_filters'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/filters.rb:295:in @perform_action_without_benchmark'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:41:in @perform_action_without_rescue'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:41:in @measure'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:41:in @perform_action_without_rescue'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/rescue.rb:80:in @perform_action'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in @send'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in @process'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/dispatcher.rb:32:in @dispatch'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:144:in @process_request'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:64:in @process!'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:55:in @each_cgi'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:55:in @process!'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:21:in @process!'
/var/www/htdocs/shoob/domains/olivierwitmeur.shoob.com/public/dispatch.fcgi:24

Processing Base#index (for 81.241.22.204 at Thu Sep 22 18:17:42 CEST 2005)
Parameters: {"action"=>"index", "controller"=>"admin/themes"}

NameError (uninitialized constant UnknownAction):
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:186:in @const_missing'
/app/controllers/application.rb:88:in @rescue_action_in_public'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/rescue.rb:33:in @rescue_action'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/rescue.rb:106:in @perform_action'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in @send'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in @process'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/dispatcher.rb:32:in @dispatch'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:144:in @process_request'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:64:in @process!'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:55:in @each_cgi'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:55:in @process!'
/var/www/htdocs/shoob/home/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:21:in @process!'
/var/www/htdocs/shoob/domains/olivierwitmeur.shoob.com/public/dispatch.fcgi:24

History

09/23/2005 04:33 PM - scott -

  • Status changed from New to Closed
  • Resolution set to fixed

(In r651) Add default for theme about.markdown. (closes #412)

Also available in: Atom PDF