Bug 746285
Summary: | various Resource list views: attempting to sort by the Icon column (the leftmost column) causes "org.hibernate.QueryException: could not resolve property: icon of: org.rhq.core.domain.resource.Resource" error | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Ian Springer <ian.springer> |
Component: | Core UI | Assignee: | John Mazzitelli <mazz> |
Status: | CLOSED WORKSFORME | QA Contact: | Mike Foley <mfoley> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.1 | CC: | ccrouch, hrupp, mazz |
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-03-16 15:44:19 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: | 734807, 735475 | ||
Bug Blocks: | 678340 |
Description
Ian Springer
2011-10-14 16:13:13 UTC
> We either need to associate the Icon column with the resourceType.category
> field, or if this is not practical for some reason, set the column to
> clientSortOnly=true.
What we've been doing in cases like this is just turn off sorting for that column. SmartGWT API allows you to indicate which columns can and cannot be sorted on - we just have to turn off sorting for this one column.
i cannot replicate this. I went to various pages with the icon as the left column and I'm not getting any errors and the sort appears to happen correctly. I tried: Inventory>All Resources Inventory>Platforms (Servers and Services, too) Inventory>Groups (all, compat, mixed) [resource]>Inventory>Child Resources [resource]>Inventory>Groups Bundle deployment view I think this is fixed already in master. Closing as WORKSFORME. If someone can replicate this, we can reopen - but if you reopen, please specify the pages where the exception happens and what is in your inventory (i.e. the number and types/categories of the resources) |