Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 629974

Summary: "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
Product: Red Hat Satellite 5 Reporter: Jan Hutař <jhutar>
Component: WebUIAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Minar <mminar>
Severity: medium Docs Contact:
Priority: medium    
Version: 540CC: cperry, jsherril, mkoci, mminar, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: spacewalk-java-1.2.40-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-28 14:47:47 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:    
Bug Blocks: 608767    
Attachments:
Description Flags
/var/log/tomcat5/catalina.out none

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