Gatsby: Bad content loaded from markdown when files have similar names (substings)

Created on 21 Feb 2019  路  9Comments  路  Source: gatsbyjs/gatsby

Bad content loaded when markdown files have similar names
Useful Links:

Description

Click on links load content from file with longer name on server
On MacOS or Windows Parialy work, on some builds links work as expected, in some cases links load content of longer named file.

Steps to reproduce

Just clisk on link pairs and You will see difference between your local build and live site

Expected result

Show 4 different markdown file contents.

Actual result

Showing just content from files that have longer name.

Environment

Run npm start dev or gatsby build gatsby serve same results

help wanted stale? bug

Most helpful comment

Hey, can I work on this? 馃槃

All 9 comments

This looks like some greedy regex on file name but I don't know where to look for it :(

Thanks for submitting this bug! I haven't found the time to dig deep into this bug. It probably has something to do with our match part inside @reach/router.

+1 on this issue. Any news?

Hiya!

This issue has gone quiet. Spooky quiet. 馃懟

We get a lot of issues, so we currently close issues after 30 days of inactivity. It鈥檚 been at least 20 days since the last update here.

If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!

Thanks for being a part of the Gatsby community! 馃挭馃挏

Hey, can I work on this? 馃槃

@ashley yes! please 馃槃

Hiya!

This issue has gone quiet. Spooky quiet. 馃懟

We get a lot of issues, so we currently close issues after 30 days of inactivity. It鈥檚 been at least 20 days since the last update here.
If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!

Thanks for being a part of the Gatsby community! 馃挭馃挏

Hiya!

This issue has gone quiet. Spooky quiet. 馃懟

We get a lot of issues, so we currently close issues after 30 days of inactivity. It鈥檚 been at least 20 days since the last update here.
If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!

Thanks for being a part of the Gatsby community! 馃挭馃挏

Hey again!

It鈥檚 been 30 days since anything happened on this issue, so our friendly neighborhood robot (that鈥檚 me!) is going to close it.
Please keep in mind that I鈥檓 only a robot, so if I鈥檝e closed this issue in error, I鈥檓 HUMAN_EMOTION_SORRY. Please feel free to reopen this issue or create a new one if you need anything else.
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!

Thanks again for being part of the Gatsby community! 馃挭馃挏

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ferMartz picture ferMartz  路  3Comments

magicly picture magicly  路  3Comments

benstr picture benstr  路  3Comments

theduke picture theduke  路  3Comments

brandonmp picture brandonmp  路  3Comments