dataverse icon indicating copy to clipboard operation
dataverse copied to clipboard

When using Chrome to download guestbook file of a Dataverse collection whose name includes comma(s), file is saved without .csv extension and with truncated collection name

Open jggautier opened this issue 2 years ago • 1 comments

What steps does it take to reproduce the issue?

  • When does this issue occur? When using the Chrome browser to download the guestbook of a Dataverse collection that has a comma in the collection's name, such as the collection named "Representation, Treatment, Outcome" at https://dataverse.harvard.edu/dataverse/representationtreatmentoutcome

  • Which page(s) does it occurs on? The Manage Dataset Guestbook page

  • What happens? The file is downloaded and its name should be the name of the collection, but the name is truncated. The first comma and everything after that is missing, including the .csv file extension.

    So when using Chrome to download the guestbook for the collection "Representation, Treatment, Outcome", file is named Representation.

    This might make it confusing to open the file. Users can add the .csv extension to the file name. Or they can use a different browser.

  • To whom does it occur (all users, curators, superusers)? Dataverse collection managers who use Chrome

  • What did you expect to happen? The .csv file extension is included. I think it's less important that the collection's full name is used, although that depends on where the comma is.

Which version of Dataverse are you using? v5.13, v6.1, v6.2

Any related open or closed issues to this bug report? Cannot download guestbook in Chrome if Dataverse has a "," in the name (https://github.com/IQSS/dataverse/issues/4512)

jggautier avatar Feb 21 '23 15:02 jggautier

When using latest versions of Firefox, the guestbook CSV file is named as expected.

jggautier avatar May 06 '24 17:05 jggautier