Bug 908326
Summary: | AS 7 web connector discovery ends with wrong resource type | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Thomas Segismont <tsegismo> |
Component: | Core Server | Assignee: | RHQ Project Maintainer <rhq-maint> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | unspecified | CC: | hrupp, jshaughn |
Target Milestone: | --- | ||
Target Release: | RHQ 4.6 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-03 14:43:45 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Thomas Segismont
2013-02-06 12:48:39 UTC
master commit 20381597861b30716daecd4db9ad6ce88de98a78 Fix a bug in the ResourceType pojo to ResourceType entity conversion code. Criteria String matching is *fuzzy* (i.e. substring matching) by default. This needs to have the Criteria.setStrict(true) added to make it exact. In the end I got rid of the Criteria query in favor of an existing NamedQuery, for a possible perf boost as the query could be executed many times during a large inventory merge. Note that this was not an issue with AS7 plugin discovery, it was a server-side issue that could affect plugins with type A and type B, where type A's name was a substring of type B's name. This problem was never in any release, it was only a regression in the 4.6 development phase. Bulk closing of issues in old RHQ releases that are in production for a while now. Please open a new issue when running into an issue. |