Particular topic (under 18s photo contest) is redirected to an unrelated topic (unable to search by obs ID)

Please fill out the following sections to the best of your ability, it will help us investigate bugs if we have this information at the outset. Screenshots are especially helpful, so please provide those if you can.

Platform (Android, iOS, Website): Mac OSX 11.3.1 (probably irrelevant)

Browser, if a website issue (Firefox, Chrome, etc) : Safari 14.1 (probably irrelevant)

URLs (aka web addresses) of any relevant observations or pages:

This URL: https://forum.inaturalist.org/t/2021-photo-competition-under-18s-only

redirects to:

https://forum.inaturalist.org/t/unable-to-search-for-photos-by-observation-id-number-when-editing-photos-on-taxon-pages/2021

Screenshots of what you are seeing:

Description of problem (please provide a set of steps we can use to replicate the issue, and make as many as you need.):

Clicking the topic shown as “2021 photo competition (UNDER 18S ONLY)” ends up opening the topic named “Unable to search for photos by observation ID number when Editing Photos on Taxon Pages”.

A little poking around reveals that the linked URL is https://forum.inaturalist.org/t/2021-photo-competition-under-18s-only but the page that opens is https://forum.inaturalist.org/t/unable-to-search-for-photos-by-observation-id-number-when-editing-photos-on-taxon-pages/2021

The problem can be reproduced most simply by pasting that first URL into the browser’s location bar. It will redirect to the second URL.

3 Likes

Huh… it happens when I copy/paste, but only sometimes when I click the link directly. Weird.
I made a screenshot video showing this, if useful.

The dashboard has issues linking to forum topics that have titles starting with a number, see https://forum.inaturalist.org/t/forum-link-on-inat-home-page-takes-me-to-wrong-thread/11443 and https://forum.inaturalist.org/t/broken-link-to-forum-topic-from-inat-dashboard/19849.

3 Likes

I bumped into that last night as well.

Same issue using firefox on windows 10

It was previously suggested that this is a discourse bug, but it turns out that discourse considers URLs without the topic ID to be incomplete and they don’t intend to “fix” the problem.

A fix on the iNat side would require a change to this line, which currently only uses the topic slug.

Yes it happened to me too. I clicked the topic after entering forum and then only I got it.

I noticed it last night as well. Firefox on Windows 10.

Worth going through the Latest Topics dashboard to get to the link. The kids are alright.

2 Likes