Bug 536475 (RHQ-821)
Summary: | group def allows string functions to be suffixed onto non-string types, but then blows up during calcuation | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Joseph Marques <jmarques> |
Component: | Inventory | Assignee: | Joseph Marques <jmarques> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Jeff Weiss <jweiss> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 1.1pre | CC: | dajohnso |
Target Milestone: | --- | Keywords: | SubBug |
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://jira.rhq-project.org/browse/RHQ-821 | ||
Whiteboard: | |||
Fixed In Version: | 1.1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 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: | 536002 |
Description
Joseph Marques
2008-09-10 13:30:00 UTC
rev1415 - disallow the application of string functions to expressions that are known not to resolve to strings; So the issue in the above example is the .id not the 42 right? So this wouldn't work either resource.id.contains = myString but resource.pluginConfiguration[port] = 8080 where port is an integer will work, at least now that RHQ-803 is fixed? Now get "Syntax error in your group definition: Can not apply a string function to an expression that resolves to Integer " rev1547. This bug was previously known as http://jira.rhq-project.org/browse/RHQ-821 |