Bug 1468912 - & in a snapshot name causes it to display incorrectly
Summary: & in a snapshot name causes it to display incorrectly
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-manager
Version: unspecified
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Cole Robinson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-09 20:05 UTC by abenkovskii
Modified: 2017-07-10 21:52 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-10 21:52:21 UTC
Embargoed:


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

Description abenkovskii 2017-07-09 20:05:00 UTC
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 21:52:21 UTC
Thanks for the report, fixed upstream now:

commit a51929fcd37790c3bde448893715d5c3c0dd29df (HEAD -> master)
Author: Cole Robinson <crobinso>
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.