Bug 824898
Summary: | Message center details view 'hides' real cause | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Heiko W. Rupp <hrupp> | ||||||
Component: | Core UI | Assignee: | John Mazzitelli <mazz> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 4.4 | CC: | hrupp, mazz | ||||||
Target Milestone: | --- | ||||||||
Target Release: | RHQ 4.5.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | |||||||||
: | 825335 (view as bug list) | Environment: | |||||||
Last Closed: | 2013-09-01 09:57:45 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 825335, 832157 | ||||||||
Attachments: |
|
Description
Heiko W. Rupp
2012-05-24 14:25:40 UTC
Created attachment 586649 [details]
Leftmost part of the output
Created attachment 586650 [details]
Rightmost part of the message showing the real info
I will have a "Root Cause" show in the details window that shows you the inner-most exception message (minus the throwable class name). You will also have the option to see the Root Cause from the right-mouse menu that shows on the message bar. If there is no root cause (meaning, if there is no exceptions - its just a "normal" message), then there will be no root cause displayed and the menu item to show the root cause will be disabled. git commit to master: 325170b9e32037b748bf2ef12c0954f9d6f35ad2 (another git commit that tweeked the test page is b8ababacc8dbd7ee3d6ebbf3681f63da3334d44c ) I made some commits to master that aren't directly addressing this issue, but came out of researching this stuff: 802ff8d372ca0431c96a7c735021790ec0c0d1c0 - fixes the ThrowableUtil utility so it will as least record the exception class name if the message is null (better to show the exception class name than just the string "null") b8f67855445081683f56bd1dd27e0239f7114a9e - fix the logging done on the GWT service impl so it logs the full server-side exception before getting munged and sent over to the gwt client Setting Target Release to be RHQ4.5, I'll clone this for something to get into JON3.1.1 git commit to master: 536e094 this code has the gwt client look for the ThrowableUtil marker (which is " -> ") in the exception message - if it sees it, it will get the last message after the last -> marker and use that as the root cause string all code is in master. these are the related commits to try to get the root cause to be displayed in the message center 325170b9e32037b748bf2ef12c0954f9d6f35ad2 b8ababacc8dbd7ee3d6ebbf3681f63da3334d44c b8f67855445081683f56bd1dd27e0239f7114a9e 802ff8d372ca0431c96a7c735021790ec0c0d1c0 536e0949945638a9dc57c1903826830cd8aae376 there can be additional UI improvements (should we show a little icon that you click to popup the context menu in the message bar? should we show some root cause string in the bar itself? (be careful, the root cause can be a long string), etc.). We will write up additional BZs for additional UI improvements for the message center. This BZ is being moved to ON_QA since it addresses the question at hand - that being, show the root cause string for the inner most exception that caused the message to be displayed. Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since. |