#357 new
Delineate

adva_comments dependent on adva_spam

Reported by Delineate | April 16th, 2010 @ 10:16 PM

Vanilla install of master/0.3.1 on postgresql
Enable adva_comments and disable adva_spam (which is default)
Create page with comments enabled.
Create a new comment in website logged in as superuser.

The comment controller references check_approval() in

vendor/adva/engines/adva_comment/app/comments/controllers/comments_controllers.rb:41

This function is defined, afaik, in and only in

vendor/adva/engines/adva_spam/config/initializers/comment.rb:22

When creating a comment as superuser (and probably others), the following error:

undefined method `check_approval' for #<Comment:0x7fc0ca7f0688>

Abbreviated Trace:

/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/attribute_methods.rb:260:in `method_missing'
/home/david/Projects/adva_vanilla/vendor/plugins/adva_comments/app/controllers/comments_controller.rb:41:in `create'

Comments and changes to this ticket

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.

New-ticket Create new ticket

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

Pages