Tags tab shows error page when there are no posts or tags #1485
Labels
area: ruby
Changes to server-side code
complexity: average
Not particularly hard, not particularly trivial.
priority: high
type: bug
Something isn't working
Describe the bug
An error page is displayed when trying to view the "Tags" tab in a new development environment with no posts or tags created yet.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The code shown in the error page, from
app/views/tags/category.html.erb
, is intended to display a message "This category is missing its tag set. Set this in the Category settings (admin)" rather than giving an error page.Screenshots
Additional context
Operating system: Fedora 40
Browser: Firefox 133.0.3 (64 bit)
Ruby version: 3.1.6
Rails version: 7.0.8.5
The text was updated successfully, but these errors were encountered: