
Blog comment bug
Reported by Marko Seppä | August 26th, 2008 @ 03:05 PM | in Sprint #1
After making fresh adva_cms install I did following:
Created a blog and went straight to comments tab that resulted in following error:
comments/index.html.erb on line 20 raised: undefined method `downcase' for NilClass:Class
Comments works after creating a category for a blog. And I assume article would make it work too. So page tries to show comments of a nil object.
Comments and changes to this ticket
-
Marko Seppä August 26th, 2008 @ 03:05 PM
- Assigned user changed from Sven Fuchs to Marko Seppä
-
Sven Fuchs September 22nd, 2008 @ 11:41 AM
- Tag set to blog, bug, comments
- Milestone changed from First alpha to Release 0.1.0
-
Sven Fuchs September 22nd, 2008 @ 11:58 AM
- State changed from new to open
-
Sven Fuchs September 28th, 2008 @ 10:29 PM
- Milestone changed from Release 0.1.0 to Sprint #1
-
Sven Fuchs October 2nd, 2008 @ 03:56 PM
- State changed from open to resolved
(from [2c01a892ffc8b3cd9801db61fcbd5446cbbe1c4d]) quickfix for site comments overview, closing ticket '#57 blog comment bug' [#57 state:resolved] http://github.com/svenfuchs/adva...
-
Pedro Custódio March 26th, 2009 @ 02:18 PM
- Tag changed from blog, bug, comments to bug, comments
Got something similiar to this on the admin homepage, when you select any of the links:
Comments awaiting your approval (1) Getting Started (1) FAQ
you get an error:
NoMethodError in Admin/comments#index
Showing >vendor/plugins/adva_comments/app/views/admin/comments/index.html.erb where line #32 raised:
undefined method
downcase' for #<Class:0x36ba690> Extracted source (around line [#32](/projects/13992/tickets/32 "Ticket #32")):
29: 30: <% end %> 31: <% else %> 32:
- <%= t(:'adva.comments.info.no_comments_for_query', :location => ((@content || @section) ? (@content || @section).type.downcase : 'site')) %>
- 33: <% end %> 34:
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<p>Cutting edge cms, blog, wiki, forum ... plattform.</p>
<p>Find the code on <a href="http://github.com/svenfuchs/adva_cms/tree/master">GitHub: adva cms</a></p>
<p>Part of the business application framework <a href="http://www.advabest.org/">adva best</a>.</p>
People watching this ticket
Referenced by
-
57 Blog comment bug (from [2c01a892ffc8b3cd9801db61fcbd5446cbbe1c4d]) quickfi...