Red Hat Bugzilla – Bug 480233
ISE generated when deleting a System->Stored Profile
Last modified: 2009-09-17 03:09:06 EDT
Created attachment 329134 [details]
ISE data from catalina.out
Description of problem:
Attempting to delete a system stored profile using the UI generates an ISE. See attachment for ISE.
Version-Release number of selected component (if applicable):
Always. I'm seeing it consistently w/spacewalk-java-0.4.14-1.el5.
Steps to Reproduce:
1. Create a stored profile (Systems->System->Software->Packages->Profile->CreateSystemProfile
2. Attempt to delete the profile (Systems->Stored Profile-> <profile> -> delete profile
ISE generated when user attempt to confirm the delete from the confirmation page. (e.g. https://<server>/rhn/profiles/Delete.do?prid=2)
Stored profile deleted.
It appears that the hibernate mapping for the Profile -> ProfileEntry is incomplete. The ProfileEntry contains the mapping for each package which includes things like name, evr, arch...etc. In this case, it appears to be missing the arch; therefore, in profiles where there are multiple packages with different arch, Hibernate generates this exception. Adding the arch to the mapping should address the issue.
Modifications made in master w/commit: 17d9fdabd461dd67df887df77009774a5ee7be2b
*** Bug 482883 has been marked as a duplicate of this bug. ***
Spacewalk 0.5 released.
Spacewalk 0.5 has been released for long time ago.