Bug 681453

Summary: ISE: When updating an erratum and setting the solution to ''
Product: Red Hat Satellite 5 Reporter: Šimon Lukašík <slukasik>
Component: WebUIAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Korbel <mkorbel>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 540CC: cperry, mkorbel, mminar, tkasparek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-01 21:56:13 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: 924232    
Attachments:
Description Flags
The traceback, for the webui version
none
The traceback for the api version none

Description Šimon Lukašík 2011-03-02 08:54:49 UTC
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:

Comment 1 Šimon Lukašík 2011-03-02 08:56:45 UTC
Created attachment 481810 [details]
The traceback, for the webui version

Comment 2 Šimon Lukašík 2011-03-02 08:57:44 UTC
Created attachment 481811 [details]
The traceback for the api version

Comment 4 Tomáš Kašpárek 2013-03-28 11:52:04 UTC
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.

Comment 5 Tomáš Kašpárek 2013-03-28 13:11:06 UTC
fixed in spacewalk.git: 49e12a0cb36fc763bb9a894030e31c1e8a64e0d0

Comment 7 Martin Korbel 2013-09-25 08:26:26 UTC
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.

Comment 8 Martin Korbel 2013-09-25 09:10:26 UTC
Fix comment 7:
REPRODUCED on spacewalk-java-1.2.39-29.el5sat (Sat5.4.0)

Comment 9 Clifford Perry 2013-10-01 21:56:13 UTC
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