I just noticed that i can flag a question for moderator attention without providing a comment (Button Flag Question is enabled).
When i click the button i get the red error box "An error occured during flagging" and the server returns a 500 - Internal Server Error.
Here are the steps to reproduce:
- Open a question
- Flag question to open flagging dialog (Button Flag Question is disabled)
- Select a flag option (as example "it is spam")
- Select "it needs moderator attention"
These steps result in that the Flag Question button is enabled, without providing any comment for the moderator.
I can only reproduce this on Meta. Stackoverflow seems to work as expected.
Output Developer Tools (Chrome)
Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://meta.stackoverflow.com/error?aspxerrorpath=/flags/posts/184480/add/undefined
GET http://meta.stackoverflow.com/error?aspxerrorpath=/flags/posts/184480/add/undefined 500 (Internal Server Error) jquery.min.js:4
send jquery.min.js:4
f.extend.ajax jquery.min.js:4
B full.js?v=29ea9a93c321:176
(anonymous function) full.js?v=29ea9a93c321:173
f.event.dispatch jquery.min.js:3
h.handle.i
other
option underflag for moderator attention
; without clickingother
, the button stays enabled.