Details
-
Bug
-
Resolution: Cannot Reproduce
-
Low
-
None
-
3.6.4
-
3.06
-
Description
It would be better if we can have a more graceful error page when an exception is caught.
For example:
If user is not logged in and he/she is trying to view a page by a url http://jira.atlassian.com/secure/ManageWatchers!default.jspa?id=12345, they will get a page full with exception.
com.atlassian.jira.exception.IssueNotFoundException: Issue with id '12345' or key 'null' could not be found in the system at com.atlassian.jira.web.action.issue.AbstractIssueSelectAction.getIssue()Lorg/ofbiz/core/entity/GenericValue;(AbstractIssueSelectAction.java:85) at com.atlassian.jira.web.action.issue.ManageWatchers.isCanViewWatcherList()Z(ManageWatchers.java:218) at com.atlassian.jira.web.action.issue.ManageWatchers.doDefault()Ljava/lang/String;(ManageWatchers.java:41) at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava/lang/Object;ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source) at jrockit.reflect.NativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Optimized Method) at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Optimized Method) at java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;I)Ljava/lang/Object;(Optimized Method) ...
Ideally, we can have a page that says:-
You are not logged in, and do not have the permissions required to manage the watchers as a guest. To manage the watchers first login or signup for an account.
Cheers,
Terry
Attachments
Issue Links
- is related to
-
JRASERVER-11078 Better display of exception when users trying to perform operations (ManageWatcher) while not logged in.
- Closed