RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1753563 - the error description is not accurate when more than one file failed
Summary: the error description is not accurate when more than one file failed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: virt-viewer
Version: 8.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: 8.0
Assignee: Julien Ropé
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-19 10:11 UTC by Xiaodai Wang
Modified: 2021-05-18 15:53 UTC (History)
7 users (show)

Fixed In Version: virt-viewer-9.0-5.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 15:53:32 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)

Description Xiaodai Wang 2019-09-19 10:11:30 UTC
Description of problem:
the error description is not accurate when more than one file failed

Version-Release number of selected component (if applicable):
virt-viewer-7.0-8.el8.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Disable file transfer function in xml.

    <graphics type='spice' autoport='yes' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
      <filetransfer enable='no'/>
    </graphics>
2. Drag 20 files into the guest.
3. Check the error dialog.

Actual results:
"An error caused the following file transfers to fail"  displays in Tranfer error dialog.

Expected results:
The description is not accurate because more than one files were failed. A better description could be displayed.

Additional info:

Comment 1 Frediano Ziglio 2020-07-01 13:42:10 UTC
I think I have a patch that could help this.
spice-gtk sends the error string but virt-viewer does not use it so it gives a generic error.

Comment 2 Frediano Ziglio 2020-07-09 13:44:28 UTC
Julien, this is the branch (and patch) I was working on that should maybe fix also this issue.
https://gitlab.com/freddy77/virt-viewer/-/commits/detailed_message.
Can you try it?

Comment 3 Frediano Ziglio 2020-07-10 09:53:04 UTC
Posted https://gitlab.com/virt-viewer/virt-viewer/-/merge_requests/16

Comment 4 Frediano Ziglio 2020-07-15 10:09:36 UTC
MR merged upstream as 522cca5ac1473405d325fce4fef0d6e0343f6257.

Comment 8 zhoujunqin 2020-12-11 08:00:49 UTC
I can reproduce this issue with package:
virt-viewer-9.0-4.el8.x86_64

Steps:
1. Disable file transfer function in xml.

    <graphics type='spice' autoport='yes' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
      <filetransfer enable='no'/>
    </graphics>

2. Drag 20 files into the guest.

3. Check the error dialog.

Result:
"An error caused the following file transfers to fail"  displays in Transfer error dialog.

Then try to verify this bug with new build:
virt-viewer-9.0-5.el8.x86_64


1. Disable file transfer function in xml.

    <graphics type='spice' autoport='yes' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
      <filetransfer enable='no'/>
    </graphics>

2. Drag 20 files into the guest.

3. Check the error dialog.

Result:
3.1 "The file transfer is disabled" displays in the Transfer error dialog, it's clear to user.
3.2 The error dialog can be closed successfully.

So I move this bug from ON_QA to VERIFIED based on above testing, thanks.

Comment 10 errata-xmlrpc 2021-05-18 15:53:32 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 (virt-viewer bug fix and enhancement update), 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/RHBA-2021:1876


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