Hyperic HQ 4.4.0 EE is Now Available
Issue Details (XML | Word | Printable)

Key: HHQ-2310
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Charles Lee
Reporter: Charles Lee
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hyperic HQ

Add resource to group results in ClassCastException

Created: 20/Aug/08 02:34 PM   Updated: 22/Aug/08 12:58 PM
Component/s: UI
Affects Version/s: 3.2.4
Fix Version/s: 3.2.5, 4.0.0-Beta, 4.0.0

Verify By: Kashyap Parikh
Last comment: 2 years, 2 weeks, 3 days ago
Resolution Date: 20/Aug/08 02:58 PM
Ranking:
Issue is not rankable.     


 Description  « Hide
1. Start with more than 1 page of mixed groups (> 15).
2. Go to a server or service's inventory page, and click on "Add to List" for groups.
3. Click on page 2 or later and select a group to add.
4. Click Add and page will result in stacktrace:

java.lang.ClassCastException: org.hyperic.hq.appdef.shared.ServerValue cannot be cast to org.hyperic.hq.appdef.shared.PlatformValue at org.hyperic.hq.ui.action.resource.platform.inventory.ViewPlatformAction.execute(ViewPlatformAction.java:96) at


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Charles Lee added a comment - 20/Aug/08 02:58 PM
Need to pass the correct resourceType value to the tile insert. Whenever you clicked on a page number, it was using an erroneous URL for platform, rather than the correct URL for server and service.

Kashyap Parikh added a comment - 22/Aug/08 12:58 PM
Verified the fix, looks good.