Bug 629974 - "javax.servlet.ServletException: com.redhat.rhn.domain.channel.ContentSource incompatible with com.redhat.rhn.domain.Identifiable" when clicking on "Select all" in Channel -> Repos -> Add/Remove
Summary: "javax.servlet.ServletException: com.redhat.rhn.domain.channel.ContentSource ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: WebUI
Version: 540
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Justin Sherrill
QA Contact: Martin Minar
URL:
Whiteboard:
Depends On:
Blocks: sat540-repo-sync
TreeView+ depends on / blocked
 
Reported: 2010-09-03 12:28 UTC by Jan Hutař
Modified: 2016-07-04 00:55 UTC (History)
5 users (show)

Fixed In Version: spacewalk-java-1.2.40-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-28 14:47:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
/var/log/tomcat5/catalina.out (9.15 KB, text/plain)
2010-09-03 12:29 UTC, Jan Hutař
no flags Details

Description Jan Hutař 2010-09-03 12:28:40 UTC
Description of problem:
When I click on "Select all" button in Manage SW Channels -> some my channel -> Repos -> Add/Remove form, I get ISE.


Version-Release number of selected component (if applicable):
Galactica: Satellite-5.4.0-RHEL5-re20100827.0-x86_64-embedded-oracle.iso
spacewalk-java-1.2.17-1.el5sat
spacewalk-schema-1.2.8-1.el5sat


How reproducible:
1 of 1 satellite, but all attmpts, also tested as admin user


Steps to Reproduce:
1. Go to https://<FQDN>/rhn/channels/manage/Repositories.do?cid=121
2. Click on "Select all" button


Actual results:
2010-09-03 08:19:59,150 [TP-Processor1] WARN  org.apache.struts.action.RequestProcessor - Unhandled Exception thrown: class java.lang.ClassCastException
2010-09-03 08:19:59,150 [TP-Processor1] ERROR com.redhat.rhn.frontend.servlets.SessionFilter - Error during transaction. Rolling back
javax.servlet.ServletException: com.redhat.rhn.domain.channel.ContentSource incompatible with com.redhat.rhn.domain.Identifiable
	at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
        [...]


Expected results:
No traceback


Additional info:
"Update list" and "Unselect all" works as expected.

Comment 1 Jan Hutař 2010-09-03 12:29:53 UTC
Created attachment 442876 [details]
/var/log/tomcat5/catalina.out

Comment 2 Justin Sherrill 2010-09-09 21:09:07 UTC
fixed in master: 59dcd635f289efaff98ad408d12cf6453cb41db2

Comment 4 Tomas Lestach 2010-10-20 13:39:46 UTC
"Select All" button on the rhn/channels/manage/Repositories.do page works as expected. Getting no ISE.

STAGE VALIDATED on Satellite-5.4.0-RHEL5-re20101015.0

Comment 5 Clifford Perry 2010-10-28 14:43:07 UTC
The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. 


RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10332

RHEA-2010:0803 - RHN Tools enhancement update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10333

RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10334

RHEA-2010:0800 - RHN Satellite Server 5.4.0
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10335

Docs are available:

http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/index.html 

Regards,
Clifford


Note You need to log in before you can comment on or make changes to this bug.