Bug #39
/articles/category/foo throws an error
| Status : | Closed | Start : | ||
| Priority : | Normal | Due date : | ||
| Assigned to : | tobi - | % Done : | 0% |
|
| Category : | installer | |||
| Target version : | release2 | |||
| Resolution : | fixed |
Description
It turns out that our test suite isn't quite as comprehensive as we thought and didn't catch a dumbass bug I introduced while refactoring ArticlesController's handling of tags and categories. If you're desperate for a fix, right now, edit app/controllers/articles_controller.rb. At line 192 in the
display_groupingmethod, replace
klass.find_by_namewith
klass.find_by_permalink
A patch (with tests) will be arriving shortly.
Associated revisions
Revision 5e755b08c19040129a5840aae6857dd87a859c45
- Check @pages.item_count instead of @articles.size in articles/index.rhtml (fixes
#39) [wismar@gmail.com]
git-svn-id: http://svn.typosphere.org/typo/trunk@167 820eb932-12ee-0310-9ca8-eeb645f39767
