Bug 621354 - report should not display http headers to users
Summary: report should not display http headers to users
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: report
Version: 6.0
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Gavin Romig-Koch
QA Contact: David Kutálek
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-04 20:01 UTC by Andrew Hecox
Modified: 2010-11-10 21:29 UTC (History)
3 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2010-11-10 21:29:51 UTC


Attachments (Terms of Use)
case creation failing (19.70 KB, image/png)
2010-08-04 20:01 UTC, Andrew Hecox
no flags Details
case creation succeeding (20.86 KB, image/png)
2010-08-04 20:01 UTC, Andrew Hecox
no flags Details
QA - server messages in report gui after moving bug to ON_QA (119.92 KB, image/png)
2010-08-18 16:08 UTC, David Kutálek
no flags Details

Description Andrew Hecox 2010-08-04 20:01:31 UTC
Created attachment 436650 [details]
case creation failing

report currently displays the http headers in it's GTK screens to the customers. See attached screenshots.

Comment 1 Andrew Hecox 2010-08-04 20:01:51 UTC
Created attachment 436651 [details]
case creation succeeding

Comment 2 Andrew Hecox 2010-08-04 20:02:43 UTC
Sly / Denise -- this is a very easy fix for us which I'd like to get in if possible. It's very ugly in the GTK screens for report users, eg, selinux.

Comment 3 Andrew Hecox 2010-08-04 20:03:15 UTC
for the failure case, we should just display the message returned; for the success case, we should just say "thank you" and a reference to the newly created case in the portal.

Comment 4 Gavin Romig-Koch 2010-08-11 13:18:02 UTC
In the end the safest change to accomplish this was just to not print out anything except the messages that the server sent for cases of success (http response codes 200 and 201) and user errror (400<=x<500).  For server error response codes (500 <= x < 600) we print out as much info as we have.

This means that to fully fix this we will need the server to improve the messages it sends.  This is in progress.

Someone, likely me, who knows what messages the server is sending will have to verify this bug.

Comment 6 David Kutálek 2010-08-18 16:08:35 UTC
Created attachment 439432 [details]
QA - server messages in report gui after moving bug to ON_QA

Comment 8 releng-rhel@redhat.com 2010-11-10 21:29:51 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


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