Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1393655 - HTML character codes while accessing the vm/templates page under a folder which has '/' in name
HTML character codes while accessing the vm/templates page under a folder whi...
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers (Show other bugs)
5.7.0
Unspecified Unspecified
medium Severity low
: GA
: 5.9.0
Assigned To: Adam Grare
Nandini Chandra
ui:vm
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-10 00:53 EST by Aziza Karol
Modified: 2018-03-01 08:07 EST (History)
11 users (show)

See Also:
Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-03-01 08:07:41 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core


Attachments (Terms of Use)
snapshot (116.21 KB, image/png)
2016-11-10 00:53 EST, Aziza Karol
no flags Details
screenshot (90.79 KB, image/png)
2017-03-14 06:36 EDT, Aziza Karol
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0380 normal SHIPPED_LIVE Moderate: Red Hat CloudForms security, bug fix, and enhancement update 2018-03-01 13:37:12 EST

  None (edit)
Description Aziza Karol 2016-11-10 00:53:26 EST
Created attachment 1219177 [details]
snapshot

Description of problem:


Version-Release number of selected component (if applicable):
5.7.0.10-beta3.20161109111947_9a61b18 

How reproducible:
100%

Steps to Reproduce:
see attached screenshot. clicking on folder name "Dev/Admin" in accordion displays "Dev %2f Admin" in the vm/templates page.

Actual results:


Expected results:


Additional info:
Comment 2 Dávid Halász 2017-03-09 04:42:54 EST
Should be consistent in the latest build, could you please check it out? With using the same provider, I see in the database "Dev %2f Admin" and it shows the same in the treeview/title...
Comment 3 Aziza Karol 2017-03-14 06:36:02 EDT
David,

This issue is still reproducible in 5.8.0.4.20170307183144_745a3d9. See attached screenshot.

Thanks,
Aziza
Comment 4 Aziza Karol 2017-03-14 06:36 EDT
Created attachment 1262853 [details]
screenshot
Comment 5 Dávid Halász 2017-03-15 06:05:29 EDT
Checked in the DB: SELECT name FROM ems_folders WHERE id = XX;
It is stored as: "Dev %2f Admin"

Aziza verified for me that in the VmWare UI it is displayed as "Dev / Admin", i.e. the provider client writes the value into the DB wrong.

Greg, can I pass this to your team?
Comment 6 Greg Blomquist 2017-05-02 16:06:15 EDT
Adam, this sounds sort of familiar.  Can you take a peek at this and see if it's fixed?
Comment 7 Adam Grare 2017-05-02 16:10:53 EDT
Yeah this is probably the same issue as https://bugzilla.redhat.com/show_bug.cgi?id=1411527

Problem is that VMware returns it in this fashion from the API so we need to actively decode these.  We already do for a number of different objects, I'll need to add this for folders as well.
Comment 9 CFME Bot 2017-05-04 14:33:49 EDT
New commit detected on ManageIQ/manageiq-providers-vmware/master:
https://github.com/ManageIQ/manageiq-providers-vmware/commit/4cfc246f9b6bca7a91bd7b05d5bd8a596c089665

commit 4cfc246f9b6bca7a91bd7b05d5bd8a596c089665
Author:     Adam Grare <agrare@redhat.com>
AuthorDate: Wed May 3 14:16:37 2017 -0400
Commit:     Adam Grare <agrare@redhat.com>
CommitDate: Wed May 3 14:16:37 2017 -0400

    Decode slash in folder/datacenter names
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1393655

 app/models/manageiq/providers/vmware/infra_manager/refresh_parser.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 10 Adam Grare 2017-05-04 14:34:52 EDT
For testing this will now handle folders, datacenters, datastores, and clusters with '/' in the name.
Comment 11 Nandini Chandra 2017-10-11 12:20:27 EDT
Verified in 5.9.0.1
Comment 14 errata-xmlrpc 2018-03-01 08:07:41 EST
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:0380

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