Description of problem: The problem is reproducible either through webui or frontend api. When updating an erratum and inserting '' value as solution, The internal server error is thrown. Version-Release number of selected component (if applicable): spacewalk-java-1.2.39-35.el5sat How reproducible: always Steps to Reproduce: (1) On webui: Errata -> Manage Errata -> (Pick some) -> (Set solution to '') (2) Through API: client.errata.setDetails(name, {'solution': ''}) Actual results: ISE Expected results: Error message. Additional info:
Created attachment 481810 [details] The traceback, for the webui version
Created attachment 481811 [details] The traceback for the api version
I've managed to reproduce one half of this bug on Spacewalk 1.10 nightly. When changing erratas solution to '' in webUI error message is presented as excepted, however when changing solution to '' ISE occurs. Also when using API call errata.setDetails and changing f.e. synopsis to '' ise occurs.
fixed in spacewalk.git: 49e12a0cb36fc763bb9a894030e31c1e8a64e0d0
VERIFIED on spacewalk-java-2.0.2-39.el6sat (Sat5.6.0) REPRODUCED on spacewalk-java-2.0.2-39.el6sat (Sat5.4.0) Steps to reproduce in comment 0.
Fix comment 7: REPRODUCED on spacewalk-java-1.2.39-29.el5sat (Sat5.4.0)
Satellite 5.6 has been released. This bug was tracked under the release. This bug was either VERIFIED or RELEASE_PENDING (re-verified prior shortly before release). Moving to CLOSED CURRENT_RELEASE. Text from Upgrade Erratum follows: Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-1395.html