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
Description
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
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.
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.