Bug #947

Textfilters not working for pages

Added by scoop - 1108 days ago. Updated 703 days ago.

Status :Closed Start :
Priority :Low Due date :
Assigned to :scott - % Done :

0%

Category :textfilters
Target version :4.0.4
Resolution :

worksforme


Description

Textfilters not working for pages

Associated revisions

Revision 1062
Added by scott 805 days ago

Make BlogSweeper watch User, too. Closes #947

History

08/26/2005 09:48 AM - scoop -

Admin::PagesController also desperately needs some functional test blessing.

08/26/2005 10:25 AM - scoop -

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

(In r580) Fixed Admin::PagesController to call filter_text_by_name correctly (also moved into an update_html controller method), added functional tests (closes #358)

08/27/2005 05:07 PM - anonymous -

  • Status changed from Closed to Feedback
  • Resolution deleted (fixed)

My textile filters are broken, and the filters page errors out

08/27/2005 05:28 PM - scoop -

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

Well, great. Can you please be a little more precise of their brokenness, you setup et al? Just claiming they're broken isn't exactly aiding debugging. Reopen if you get the time to describe your problem.

09/03/2005 03:18 PM - anonymous -

On postgressql, when I attempt to create a new filter, the filter page (store button), goes to Application Error.

09/03/2005 03:18 PM - anonymous -

  • Status changed from Closed to Feedback
  • Resolution deleted (fixed)

09/03/2005 04:16 PM - scott -

  • Status changed from Feedback to New

Well, that's a start. I can't reproduce this here. Can you please include a portion of your log (either log/production.log or log/development.log) that shows which error message triggered the application error? Without that, there's nothing that we can do to fix this.

09/06/2005 05:15 AM - anonymous -

Processing TextfiltersController#index (for 0.0.0.0 at Tue Sep 06 05:17:30 GMT 2005)
Parameters: {"action"=>"index", "controller"=>"admin/textfilters"}
Rendering within layouts/administration
Rendering admin/textfilters/list (200 OK)
Completed in 0.14658 (6 reqs/sec) | Rendering: 0.11175 (76%) | DB: 0.00289 (1%) "Processing TextfiltersController#new (for 0.0.0.0 at Tue Sep 06 05:17:32 GMT 2005)
Parameters: {"action"=>"new", "controller"=>"admin/textfilters"}
Rendering within layouts/administration
Rendering admin/textfilters/new (200 OK)
Completed in 0.06398 (15 reqs/sec) | Rendering: 0.04314 (67%) | DB: 0.00210 (3%) [http://example.com/admin/textfilters/new/":http://example.com/admin/textfilters]

Processing TextfiltersController#new (for 0.0.0.0 at Tue Sep 06 05:17:35 GMT 2005)
Parameters: {"action"=>"new", "params"=>{"amazon-associate-id"=>""}, "controller"=>"admin/textfilters", "textfilter"=>{"name"=>"test", "desc$

NoMethodError (undefined method @keys' for nil:NilClass):
app/controllers/admin/textfilters_controller.rb:40:in @new'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:756:in @send'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:756:in @perform_action_without_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/filters.rb:295:in @perform_action_without_benchmark'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:41:in @perform_action_without_rescue'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:41:in @measure'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:41:in @perform_action_without_rescue'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/rescue.rb:80:in @perform_action'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in @send'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in @process'
/usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/dispatcher.rb:32:in @dispatch'
/usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:144:in @process_request'
/usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:64:in @process!'
/usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:55:in @each_cgi'
/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in @each'
/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in @each_cgi'
/usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:55:in @process!'
/usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:21:in @process!'
/home/username/web/typo/public/dispatch.fcgi:24

09/06/2005 05:17 AM - anonymous -

This is on postgresql

09/09/2005 04:07 PM - scott -

Can you please re-test this with the latest version of the Typo trunk--it works fine for me, and the line numbers that you've given don't match up with the current code.

09/11/2005 12:52 PM - scoop -

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

Also available in: Atom PDF