Clicking a link to a private or deleted topic shows as a network error


(Felix Freiberger) #1

When clicking this link from within Discourse, I get a generic error message suggesting network problems:

Reloading the page shows the actual error:

I’d expect to see the latter page even when routing is done internally.


(Mittineague) #2

When I click that link I get the “doesn’t exist or is private” page.

Are you sure this didn’t happen because the topic was in “mid process”?

That is, could this have been a coincidence or does this happen consistently?


(Felix Freiberger) #3

What do you mean by that?

I can still reproduce this consistently, both logged in and in a private tab. Did you open the link in a new tab or window?


(@SenpaiMass) #4

Yup getting the same error


(Mittineague) #5

Ah, I had opened it in a new tab.
When I just now opened it in the same tab I did get the “connection problem”


(Felix Freiberger) #6

Okay, that’s expected. Opening in a new tab means that Discourse has to load in this new tab, so this is a case of external routing.


(Jeff Atwood) #7

Something for you to look at @eviltrout. Works fine for anon when opened in a new window/tab so it seems the issue is anon clickthrough only? Yeah, confirmed.


(Felix Freiberger) #8

I’m also affected when I’m logged in.


(Faisal) #9

I think this does not produce for the private topics, only the deleted ones for which the fix just got merged.


@fefrei


(Jeff Atwood) #10

Can you confirm this is fixed @techapj?


(Arpit Jalan) #11

Yup, seems fixed to me. Thanks @AbbasFaisal!


(Arpit Jalan) #12