Bug 1608972 - Settings and Diagnostics accordions empty if a zone has backslash in description
Summary: Settings and Diagnostics accordions empty if a zone has backslash in description
Keywords:
Status: CLOSED DUPLICATE of bug 1568417
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.3
Hardware: All
OS: All
medium
medium
Target Milestone: GA
: 5.9.5
Assignee: Dávid Halász
QA Contact: Tasos Papaioannou
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-26 15:31 UTC by Tasos Papaioannou
Modified: 2018-10-18 15:04 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-30 12:28:24 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Tasos Papaioannou 2018-07-26 15:31:20 UTC
Description of problem:

If a zone is created or edited to have a description with a backslash, the Settings and Diagnostics accordions are empty.

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

Verified on 5.9.0.22 through 5.9.4.0. Issue does not appear in 5.8 or 5.10.

How reproducible:

100%

Steps to Reproduce:
1.) Create a new zone, with a backslash in the description, e.g.,

Name: zone1
Description: zone1\a

2.) Refresh the browser, or navigate away and then back to the Configuration page.

3.) See that the Settings and Diagnostics sections of the accordion are now empty.

Actual results:

Backslashes in zone description cause Settings and Diagnostics accordions to display as empty.

Expected results:

Certain combinations of backslash with other characters don't cause this problem, but the zone's description in the accordion doesn't display as expected, indicating that the backslash+character is being interpreted as a special character.

For example, after saving the zone with a description of 'zone1\t', the accordion initially displays as 'zone1\t' but after a page refresh it displays as 'zone1 '. Similarly, a description of 'zone1\\a' initially displays as 'zone1\\a' but after a page refresh it displays as 'zone1\a'.

Additional info:

Comment 4 Milan Zázrivec 2018-07-30 11:33:17 UTC
This is in fact the same problem as bug #1568417

Assigning to Dávid -- you may choose to close this one as a duplicate
or keep them open both.


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