10

Currently there is an election on Super User. It is the fourth, reachable via https://superuser.com/election/4 .

The URLs https://superuser.com/election/<election-id> correctly gives the pages of the earlier elections. https://superuser.com/election correctly gives the page of the ongoing election.

But, going to the URL of a non-existent election (for example, https://superuser.com/election/6 ), I get this:

"There are no active community moderator elections at the moment. Below is a historical record of all elections to date:"

There are no active community moderator elections at the moment. Below is a historical record of all elections to date:

Which is false, because there is an ongoing election at the moment.

Also I don't think it would be the bug of the century, although I think you want to make everything perfect on the site. :-)

  • You could even argue it should return the /404 page. – rene Mar 21 '17 at 20:33
  • @rene 404 looks so... depressing. Maybe a 302 redirect to the election list. I don't think it would be our decision :-) – peterh Mar 21 '17 at 20:35
  • yeah, sure. but for consistency 404 is better. – rene Mar 21 '17 at 20:37
  • 1
    @rene Or, maybe: "This community election wasn't started until now." or similar, probably with better English :-) – peterh Mar 21 '17 at 22:36

You must log in to answer this question.

Browse other questions tagged .