Bug 761667 - Invalid data for new system name displays JSON error message
Summary: Invalid data for new system name displays JSON error message
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.0
Hardware: Unspecified
OS: All
unspecified
medium vote
Target Milestone: Unspecified
Assignee: Tom McKay
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-12-08 19:45 UTC by Og Maciel
Modified: 2019-09-26 13:25 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:11:43 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Og Maciel 2011-12-08 19:45:03 UTC
Description of problem:

If you add an invalid name for a new system, you get the JSON string displayed in the red error dialog.

Version-Release number of selected component (if applicable):

katello-0.1.130-1.git.0.216c0d8.el6.x86_64

How reproducible:


Steps to Reproduce:
1. Click on Systems -> All -> New System
2. Fill out the form, using RHEL 6 Client 1 in the Name field
3. Save it.
  
Actual results:

The (attached) screenshot shows the error message that comes up, displaying the JSON string.

Expected results:

We should display a more user friendly message, preferably stating what the expected data should be.

Additional info:

Comment 1 Tom McKay 2012-01-06 21:40:41 UTC
commit 980bb7d1984a91c2be87cae4c17696f3354068e7
Author: Tom McKay <thomasmckay>
Date:   Fri Jan 6 16:38:13 2012 -0500

    Bug 761667 - Invalid data for new system name displays JSON error message
    https://bugzilla.redhat.com/show_bug.cgi?id=761667
    + Parse displayMessage out of error to display in notice

Comment 2 Tom McKay 2012-01-19 18:39:24 UTC
commit 77b308b11aa6da28bc02a9c904d82fb5cade74a5
Author: Tom McKay <thomasmckay>
Date:   Thu Jan 19 10:52:10 2012 -0500

    761667 - JSON error message from candlepin parsed correctly

Comment 3 Mike McCune 2012-01-26 19:08:19 UTC
mass ON_QA move

Comment 4 Og Maciel 2012-01-27 14:38:18 UTC
Verified on Katello Version: 0.1.198-1.el6


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