[typo] trailing crap in live search?

jonasb.16759522@bloglines.com jonasb.16759522 at bloglines.com
Tue Oct 25 05:09:52 EDT 2005


Hi,

Dan posted a patch for this problem yesterday: http://typo.leetsoft.com/trac/ticket/467.
I tried it out and it worked for me.

/Jonas (jonas.b at home.se)
http://andthennothing.net


--- typo-list at rubyforge.org wrote:
Ring any bells?
> 
> with latest
stable typo, if I type e.g. 'ruby' into my live search, I get
> 
> 
> 
    Searched for "ruby&_="
> 
> and no hits.
> 
> 
> Sure enough, the
production log shows an extra argument:
> 
>   Processing LiveController#search
(for 131.251.5.84 at 2005-10-25
> 08:36:37) [POST]
>     Parameters: {"action"=>"search",
"controller"=>"live", "ruby"=>"", "_"=>""}
>   Rendering live/search
> 
 Completed in 0.00864 (115 reqs/sec) | Rendering: 0.00702 (81%) | DB:
> 0.00035
(4%) | 200
>   OK [http://number9.hellooperator.net/live/search]
> 
> 

> 
> I'm on textdrive witth typo 2.5.6 and the Haunted Version of Rails

>  (0.14.1 - whoooooooo ) so  that's probably all it is.
> 
> There's nothing
obvious from 'rake test_*' to tell me what's up,
> although one of the xmlrpc
tests blows up
> (AJAX is tenuously related to xml isn't it ? :) )
> 
>
Though that could have been there a while - I haven't run the unit
> tests
on 2.5.6
> before. Anyway here's the wreckage :
> 
> rasputnik at davie$ rake
test_functional
> (in /users/home/rasputnik/rails/typo-2.5.6)
> Loaded suite
/usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader
>
Started
> .................................E................................E../usr/local/lib/ruby/gems/1.8/gems/actionwebservice-0.9.1/lib/action_web_service/test_invoke.rb:61:in

> `decode_rpc_response': undefined method `to_i' for true:TrueClass
> (XMLRPC::FaultException)

>         from /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-0.9.1/lib/action_web_service/test_invoke.rb:26:in

> `invoke_layered'
>         from ./test/functional/backend_controller_test.rb:100:in

> `test_meta_weblog_get_post'
>         from /usr/local/lib/ruby/1.8/test/unit/testcase.rb:70:in
`__send__'
>         from /usr/local/lib/ruby/1.8/test/unit/testcase.rb:70:in
`run'
>         from /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:32:in
`run'
>         from /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:31:in
`each'
>         from /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:31:in
`run'
>         from /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:32:in
`run'
>          ... 6 levels...
>         from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:194:in
`run'
>         from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:14:in
`run'
>         from /usr/local/lib/ruby/1.8/test/unit.rb:285
>        
from /usr/local/lib/ruby/1.8/test/unit.rb:283
> 
> 
> 
> 
> 
> --
>
Rasputin :: Jack of All Trades - Master of Nuns
> http://number9.hellooperator.net/

> 
> _______________________________________________
> Typo-list mailing
list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list

> 


More information about the Typo-list mailing list