Erratic behaviour when clicking an attachment link


#1

These bugs are probably related.
My config requires users to be logged on to download attachments.

I have several attachments in one post.

Firefox

  1. When logged off user first time clicks attachment, popup window appears saying login is required. Any consecutive clicks on the same attachment does nothing.
  2. Clicking another attachment renders empty page.

If there is only one attachment in post then see fact 1
After reloading page same behaviour happens.

Internet explorer
Clicking any attachment always shows 404 error page.

access.log
GET requests on attachments return 404.


(Jeff Atwood) #2

Probably a bug. @zogstrip can you take a look after polls deployed tomorrow?


(Régis Hanol) #3

This should be fixed now :tiger:

https://github.com/discourse/discourse/commit/ad3d2269b2b76c45fcdcfba9a5a6379c2cf140ee


(Jeff Atwood) #4

(Jeff Atwood) #5

(Jeff Atwood) #6

OP says the bug is not fixed @zogstrip.


(Régis Hanol) #7

It should now be fixed :penguin:

https://github.com/discourse/discourse/commit/5783e908ea5741515c62f7aa51055e04f8faa635


#8

I’ve checked and it works now. :thumbsup:
Thank you.


(Régis Hanol) #9