google-code-export / bibapp

Automatically exported from code.google.com/p/bibapp
Other
0 stars 0 forks source link

404 error from people_controller.rb when no keywords #168

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add a person and some works without keywords
2.
3.

What is the expected output? What do you see instead?
Expect to see people/[id] with empty Keyword cloud. See a 404 error instead.

What version of the product are you using? On what operating system?
r1497

Please provide any additional information below.
"Fixed" by inserting following condition in people_controller.rb, line 110
        bin_count = 5
        if @facets[:keywords].length > 0
          kwords = @facets[:keywords].first(max)

Original issue reported on code.google.com by stirnam...@gmail.com on 23 Jun 2010 at 4:59

GoogleCodeExporter commented 9 years ago
Fixed in r1499. -Bill

Original comment by waingram on 29 Jun 2010 at 5:29