Bug 535804 (RHQ-2462)
Summary: | MeasurementScheduleManagerRemote.findSchedulesByCriteria() fails when using resource group ID filtering | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | James Livingston <jlivings> | ||||||
Component: | Core Server | Assignee: | Jay Shaughnessy <jshaughn> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Corey Welton <cwelton> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 1.3 | CC: | cwelton, joallen | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
URL: | http://jira.rhq-project.org/browse/RHQ-2462 | ||||||||
Whiteboard: | Branch RHQ_1_3_0_GA_CP | ||||||||
Fixed In Version: | 2.4 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2010-08-12 16:52:55 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 | ||||||||
Attachments: |
|
Description
James Livingston
2009-10-12 06:45:00 UTC
Test case to reproduce (connects to localhost:7080 with rhqadmin/rhqadmin) I can see queries in modules/core/domain/src/main/java/org/rhq/core/domain/criteria/MeasurementScheduleCriteria.java and modules/core/domain/src/main/java/org/rhq/core/domain/criteria/EventCriteria.java which could potentially trigger this. I'm checking whether replacing "group" with "gr" in those two fixes this. RHQ-533 and RHQ-2246 have similar QuerySyntaxException results, although caused by different errors. Patch for this problem. The previously attached testcase throws an exception when run against a current build of trunk, but works when this patch is applied. James, is this associated with a support case? Yes, IT 353026. Applied suggested patch. Thanks. This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2462 Imported an attachment (id=368802) Imported an attachment (id=368803) commit 15c5ab632360523f7ad37112700a1f2220163fb0 QA Verified: Running something like: var c = new MeasurementScheduleCriteria() c.addFilterResourceGroupId(10001) MeasurementScheduleManager.findSchedulesByCriteria(c) ....returns valid results, rather than a sql error mass move to component = core server Mass-closure of verified bugs against JON. |