Bug #30502 Page request that requires authentication should not display an error message
Submitted: 20 Aug 2007 5:53 Modified: 30 Aug 2007 3:46
Reporter: Gary Whizin Email Updates:
Status: Closed Impact on me:
Category:MySQL Enterprise Monitor: Web Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: Joshua Ganderson CPU Architecture:Any

[20 Aug 2007 5:53] Gary Whizin
If you're not logged in and request a page, you should get an authentication page but not an error message.

(It's not an error--you just need to login.)

How to repeat:
While not logged in:

1) browse to any page other than the login page (e.g. http://some_host:18080/merlin/Monitor.action). 
2) A very bright error box will display:  	
  There was an error.

    * You must log in to access the requested resource.

(it's not an error)

Suggested fix:
just authenticate and move on--it's not an error
[20 Aug 2007 16:15] Joshua Ganderson
Hid error message unless this was a json request. Patch sent.
[24 Aug 2007 19:41] Mark Matthews
Merged to release branch, available in r7291.