Red Hat Bugzilla – Full Text Bug Listing
|Summary:||Double slash in event source path causes source field to be truncated|
|Product:||[Other] RHQ Project||Reporter:||Jeff Weiss <jweiss>|
|Component:||Events||Assignee:||Charles Crouch <ccrouch>|
|Status:||CLOSED CURRENTRELEASE||QA Contact:||Jeff Weiss <jweiss>|
|Version:||1.2||CC:||cwelton, dajohnso, hbrock, mazz, skondkar|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
2.2.0 GA, linux
|Last Closed:||2013-09-02 03:26:21 EDT||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Bug Depends On:|
|Bug Blocks:||565628, 585306|
Description Jeff Weiss 2009-05-08 10:14:00 EDT
How to repeat: Create an RHQ server event source with a path like /home/jonqa/jon/jon-server-2.2.0.GA//logs/autoTestEvent.log (contains double slash, which is legal in unix and java) Create that file and insert some events into it (you can do something like : tail -50 rhq-server-log4j.log >> autoTestEvent.log wait a few minutes, and check the events tab for the RHQ server. see screenshot, the source field is truncated.
Comment 1 Jeff Weiss 2009-05-08 16:39:12 EDT
I was able to repeat the problem with a path of /home/jonqa/jon/jon-server-2.2.0.GA/logs/autoTestEvent1241812532990.log (no double-slash). This may be a cosmetic issue, since the "Source" column is truncated, but if you click the event details, you can see that the source path is properly shown, and you can also filter correctly. ie, filtering on "logs" which was truncated.
Comment 2 Red Hat Bugzilla 2009-11-10 15:57:06 EST
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2067 Imported an attachment (id=368743)
Comment 3 wes hayutin 2010-02-16 11:58:47 EST
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs. keyword: new = Tracking + FutureFeature + SubBug
Comment 4 wes hayutin 2010-02-16 12:03:31 EST
making sure we're not missing any bugs in rhq_triage
Comment 8 John Mazzitelli 2011-02-17 11:51:25 EST
this page has been reimplemented in gwt
Comment 9 Sunil Kondkar 2011-07-05 06:57:27 EDT
Tested in build#170 (Version: 4.1.0-SNAPSHOT Build Number: 67e6127) Not able to create a Log Event Source. Trying to create an event source displays IndexOutOfBoundsException. A separate bug (Bug#717921) is already filed to address this issue.
Comment 10 Sunil Kondkar 2011-08-05 07:33:04 EDT
Verified on Version: 4.1.0-SNAPSHOT Build Number: 601a57e The event source path is displayed properly. Please refer the attached screenshot. Also verified on clicking the event details which displayed the source location properly. Marking as verified.
Comment 12 Heiko W. Rupp 2013-09-02 03:26:21 EDT
Bulk closing of issues that were VERIFIED, had no target release and where the status changed more than a year ago.