Bug 1468912 - & in a snapshot name causes it to display incorrectly
& in a snapshot name causes it to display incorrectly
Status: CLOSED UPSTREAM
Product: Virtualization Tools
Classification: Community
Component: virt-manager (Show other bugs)
unspecified
Unspecified Linux
unspecified Severity low
: ---
: ---
Assigned To: Cole Robinson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-09 16:05 EDT by abenkovskii
Modified: 2017-07-10 17:52 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-07-10 17:52:21 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
screanshot (36.09 KB, image/png)
2017-07-09 16:05 EDT, abenkovskii
no flags Details

  None (edit)
Description abenkovskii 2017-07-09 16:05:00 EDT
Created attachment 1295643 [details]
screanshot

Description of problem:
& in the snapshot name causes the name to be displayed incorrectly

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

Steps to Reproduce:
1. Create a new qemu vm
2. Using virt-manager gui create a snapshot named "foo&bar"
3. Create another snapshot named "test"

Expected results:
The list of snapshots contains two entries: "foo&bar" and "test"

Actual results:
The names of both entries are displayed as "test" in the list

Additional info:
The name "foo&bar" is displayed correctly in the snapshot details
Comment 1 Cole Robinson 2017-07-10 17:52:21 EDT
Thanks for the report, fixed upstream now:

commit a51929fcd37790c3bde448893715d5c3c0dd29df (HEAD -> master)
Author: Cole Robinson <crobinso@redhat.com>
Date:   Mon Jul 10 17:51:04 2017 -0400

    snapshots: Handle XML chars in snapshot name (bz 1468912)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1468912

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