Moderation bug (redirection to FAQ)


(Camille Roux) #1

The moderation features don’t work as expected. There is a bug due to a link to FAQ at a wrong place.
Here is the behavior I get :

  • I click on the flag icon of a message then “spam” => I’m redirected to “/faq”
  • I click on the flag icon of a message then "notify " => I’m redirected to “/faq”
  • I click on the flag icon of a message then “notify moderators” => I’m redirected to “/faq”

Here is a screenshot to understand the HTML bug:


(Jeff Atwood) #2

Is this a markup error specific to the French translation? Can you have a look @techAPJ.


(Arpit Jalan) #3

Confirmed this is happening. I was able to reproduce this for two locales:

  • French (fr)
  • Portuguese (pt_BR)

So this is not specific to French translation. Will look into it.


(Arpit Jalan) #4

Turns out it was due to invalid anchor tag </ a> instead of </a> which breaks the markup.

Files updated and PR sent:

https://github.com/discourse/discourse/pull/2440


(Jeff Atwood) #5