Bug 1265150

Summary: Viewing/Deleting hardware model with name as html data, throws an error on UI
Product: Red Hat Satellite Reporter: Oleksandr Shtaier <oshtaier>
Component: WebUIAssignee: Tomer Brisker <tbrisker>
WebUI sub component: Katello QA Contact: Renzo Nuccitelli <rnuccite>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: unspecified CC: bkearney, jcallaha, lpramuk, rnuccite, rochacbruno, rplevka, sjagtap
Version: 6.1.2   
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:51:07 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:
Attachments:
Description Flags
Screenshot with issue on UI none

Description Oleksandr Shtaier 2015-09-22 08:39:51 UTC
Created attachment 1075717 [details]
Screenshot with issue on UI

Description of problem:
Viewing hardware model with name as html data (e.g. <table>something</table>)
throws an error on UI.

Error:

'The page you were looking for doesn't exist.
You may have mistyped the address or the page may have moved.'


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

How reproducible:
Always

Steps to Reproduce:
1. Create a hardware model with name as html data with tags as mentioned in description.
2. After successful creation, click on that hardware model to view. Also, you can try to delete mentioned entity using 'Delete' link

Actual results:
The page shows an error, 'The page you were looking for doesn't exist.
You may have mistyped the address or the page may have moved'. And no other data displayed.

Expected results:
Necessary entity is shown/deleted

Additional info:
Completely same behavior as in https://bugzilla.redhat.com/show_bug.cgi?id=1225857, but for hardware model entity

Comment 1 Tomer Brisker 2016-08-14 13:48:46 UTC
Connecting redmine issue http://projects.theforeman.org/issues/16104 from this bug

Comment 2 Bryan Kearney 2016-08-17 18:09:32 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/16104 has been closed

Comment 5 Renzo Nuccitelli 2016-11-15 15:15:43 UTC
I was able to show and delete on sat 6.3.0 snap 6. Moving do VERIFIED.

Comment 6 Sanket Jagtap 2016-12-16 11:43:11 UTC
*** Bug 1405023 has been marked as a duplicate of this bug. ***

Comment 7 Tomer Brisker 2017-03-07 11:58:22 UTC
*** Bug 1429545 has been marked as a duplicate of this bug. ***

Comment 9 Tomer Brisker 2017-04-18 19:39:50 UTC
*** Bug 1443130 has been marked as a duplicate of this bug. ***

Comment 10 Satellite Program 2018-02-21 16:51:07 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.
> 
> https://access.redhat.com/errata/RHSA-2018:0336