| Summary: | When two roles with the same resource group are assigned to the user, the list of all resources is not distinct - contains duplicated resources | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | bkramer <bkramer> |
| Component: | Core Server | Assignee: | Ian Springer <ian.springer> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Mike Foley <mfoley> |
| Severity: | low | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.0.1 | CC: | ccrouch, hrupp, loleary |
| Target Milestone: | --- | ||
| Target Release: | RHQ 4.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-02 15:59:09 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 782579 | ||
|
Description
bkramer
2011-10-27 11:57:55 UTC
Is the workaround to use two distinct groups (but with the same members) when creating the roles? (In reply to comment #1) > Is the workaround to use two distinct groups (but with the same members) when > creating the roles? That fixes the "All Group" page - as the number of the groups is 2 and it does show 2 groups. But the page "All Resources" still shows duplicated resources. I have reproduced this on JON 2.4.2. However, I was *not* able to reproduce it with JON 3.0.1-SNAPSHOT or RHQ 4.3.0-SNAPSHOT, so it appears to be fixed in more current branches. In JON 2.4.2, I also see the duplicate Resources when using the CLI: tester@localhost:7080$ ResourceManager.findResourcesByCriteria(new ResourceCriteria()) id name version currentAvailability resourceType ------------------------------------------------------------------------------------------------------------------------------------------- 10016 CPU 0 Pentium 4 UP CPU 10016 CPU 0 Pentium 4 UP CPU 2 rows This tells me the bug is in the Server (probably either an SLSB or the criteria engine), and not in the GUI. Note, I do *not* see duplicate Resources in the CLI with JON 3.0.1-SNAPSHOT or RHQ 4.3.0-SNAPSHOT. Given Ian's comments this will definitely be fixed in JON3.0.1 and I would expect it to be fixed in JON3.0.0 too |