Forums » Typo » Comments under admin fails

Comments under admin fails
Posted by Jón Borgþórsson (jongretar)
on 01.04.2006 13:24
Using rails 1.1 and the newest trunk of typo I just noticed that if I
try to view the articles comment on the admin side I get an
Application error (Rails). The log shows the error shown at the end.

Wondering if this is a problem at my side or if anyone else has this 
problem.


 ### Rails Error Begins ###

Processing CommentsController#list (for 85.220.114.88 at 2006-04-01
06:19:55) [GET]
  Session ID: 4f081261c4610dc3619bfe7356a047b9
  Parameters: {"action"=>"list", "controller"=>"admin/comments",
"article_id"=>"29"}
Rendering  within layouts/administration
Rendering admin/comments/list


NoMethodError (undefined method `controller_name' for nil:NilClass):
    /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/caching.rb:541:in
`callback'
    /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/caching.rb:534:in
`after'
    /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:227:in
`around_filter'
    /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:388:in
`call_filters'
    /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:381:in
`call_filters'
    /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:376:in
`after_action'
    /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:356:in
`perform_action_without_benchmark'
    /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue'
    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
    /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue'
    /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/rescue.rb:82:in
`perform_action'
    /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/base.rb:379:in
`process_without_filters'
    /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:364:in
`process_without_session_management_support'
    /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/session_management.rb:117:in
`process'
    /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/dispatcher.rb:38:in 
`dispatch'
    /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:150:in
`process_request'
    /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:54:in 
`process!'
    /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:600:in `each_cgi'
    /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each_cgi'
    /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:53:in 
`process!'
    /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:23:in 
`process!'
    /public/dispatch.fcgi:24

### Rails Error Ends ###

--
--------------
Jon Gretar Borgthorsson
http://www.jongretar.net/
Re: Comments under admin fails
Posted by Kevin Ballard (Guest)
on 01.04.2006 14:19
Please file a ticket and assign it a milestone of 4.0.
Re: Comments under admin fails
Posted by Jón Borgþórsson (jongretar)
on 01.04.2006 17:42
Just didn't want to make a ticket if I was the only one with the
problem. The odds of this being totally my fault are high. ;)

On 4/1/06, Kevin Ballard <kevin@sb.org> wrote:
>
> Typo-list mailing list
> Typo-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list
>
>
>


--
--------------
Jon Gretar Borgthorsson
http://www.jongretar.net/