Bug 681453 - ISE: When updating an erratum and setting the solution to ''
Summary: ISE: When updating an erratum and setting the solution to ''
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: WebUI
Version: 540
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Martin Korbel
URL:
Whiteboard:
Depends On:
Blocks: sat560-lowbug
TreeView+ depends on / blocked
 
Reported: 2011-03-02 08:54 UTC by Šimon Lukašík
Modified: 2013-10-01 21:56 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-01 21:56:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
The traceback, for the webui version (15.46 KB, text/plain)
2011-03-02 08:56 UTC, Šimon Lukašík
no flags Details
The traceback for the api version (13.56 KB, text/plain)
2011-03-02 08:57 UTC, Šimon Lukašík
no flags Details

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


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