Bug 1082694

Summary: ISE when deleting value from custom system info key edit page
Product: Red Hat Satellite 5 Reporter: Shannon Hughes <shughes>
Component: WebUIAssignee: Stephen Herr <sherr>
Status: CLOSED ERRATA QA Contact: Dimitar Yordanov <dyordano>
Severity: medium Docs Contact:
Priority: urgent    
Version: 560CC: dyordano, ggainey, xdmoon
Target Milestone: ---Keywords: Patch, Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-java-2.0.2-71-sat Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-30 14:11:20 UTC Type: Bug
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: 465198, 924189    

Description Shannon Hughes 2014-03-31 16:09:33 UTC
Description of problem:

ISE on UpdateCustomData.do when clicking "delete value" link. 

delete value should not be shown when editing/adding a new custom info key/value pair for a system. 


How reproducible: always


Steps to Reproduce:
1. systems->details-custom info
2. create a key/description
3. go to system and click on custom info tab
4. click on create new value
5. select the key that was created in #2
6. note that while in edit mode there is a delete value link which should not be displayed since the record has not yet been created
7. clicking on delete value link causes ISE

will work on patch for github pull request

Comment 8 Stephen Herr 2014-05-06 15:37:33 UTC
Patch accepted, thanks Shannon.

Committing to Spacewalk master as:
b32911d260b01b28a26d855df5cd69c8e44f90fa

Comment 13 errata-xmlrpc 2014-06-30 14:11:20 UTC
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/RHBA-2014-0807.html