Bug 837078 - Calculating Dynamic Group with more than one trait in Group Definition fails with QueryParameterException: could not locate named parameter
Summary: Calculating Dynamic Group with more than one trait in Group Definition fails ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Documentation
Version: unspecified
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: JON 3.1.1
Assignee: Deon Ballard
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On: 667896 826716
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-02 16:56 UTC by John Sanda
Modified: 2013-09-03 15:08 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 826716
Environment:
Last Closed: 2013-09-03 15:08:56 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 667896 0 high CLOSED Calculating Dynamic Group with more than one trait in Group Definition Condition causes Hibernate Exception 2021-02-22 00:41:40 UTC

Internal Links: 667896

Comment 1 John Sanda 2012-07-02 17:02:17 UTC
We should make it clear in the docs about what is not supported. The expression parsing code was implementing in a way that never supported multiple expressions of the same type even with different resource contexts. This mean that neither of the following are supported:

* multiple expressions of the same type using same resource context
resource.trait[x] = foo
resource.trait[y] = bar

* multiple expressions of the same typing using different resource contexts
resource.parent.trait[x] = foo
resource.grandParent.trait[y] = bar

Comment 2 John Sanda 2012-07-02 17:20:37 UTC
A slight extension of the limitation described in comment 1 is that a definition cannot also contain both resource configuration and plugin configuration expressions.

Comment 3 John Sanda 2012-08-30 01:47:12 UTC
The CR1 build is available at
https://brewweb.devel.redhat.com/buildinfo?buildID=231258. Moving to ON_QA.

Comment 4 Heiko W. Rupp 2013-09-03 15:08:56 UTC
Bulk closing of old issues in VERIFIED state.


Note You need to log in before you can comment on or make changes to this bug.