Bug 535810 (RHQ-2468)
Summary: | EventManagerRemote.findByCriteria issues | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Jay Shaughnessy <jshaughn> |
Component: | CLI | Assignee: | Jay Shaughnessy <jshaughn> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Corey Welton <cwelton> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.3 | CC: | cwelton |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://jira.rhq-project.org/browse/RHQ-2468 | ||
Whiteboard: | Branch RHQ_1_3_0_GA_CP | ||
Fixed In Version: | 2.4 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: |
remote client
|
|
Last Closed: | 2010-08-12 16:59:48 UTC | Type: | --- |
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: | 557793 |
Description
Jay Shaughnessy
2009-10-16 19:26:00 UTC
All noted failure scenarios fixed. This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2468 commit 15c5ab632360523f7ad37112700a1f2220163fb0 Need repro steps -- not sure how to reference the API calls in question. Back to Jay to put in some reproduction steps Repro: 1) Generate some Events by enabling the default RHQ server log event source at INFO level. 2) CLI: determine the resource id of the RHQ server > findResources( "RHQ Server" ) > var c = new EventCriteria() > var endTime = new Date().getTime() > c.addFilterResourceId( rhqServerResourceId ) > c.addFilterStartTime( 0 ) > c.addFilterEndTime( endTime ) > EventManager.findEventsByCriteria(c) Assuming this works as expected, returning all of the events for the RHQ Server, then try: > c.addFilterResourceGroupId( 123 ) Just ensure this does not blow up. It should return no events. If you want extra credit you could always put the RHQ server in a real group, get the group id and use it here. At which point the events should actually come back. QA Verified! Mass-closure of verified bugs against JON. |