Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 #9401

Open
jggautier opened this issue Feb 21, 2023 · 1 comment · May be fixed by #10613
Labels
Feature: Guestbook Size: 3 A percentage of a sprint. 2.1 hours. Type: Bug a defect

Comments

@jggautier
Copy link
Contributor

jggautier commented Feb 21, 2023

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 (#4512)

@sbarbosadataverse sbarbosadataverse added the Size: 3 A percentage of a sprint. 2.1 hours. label Apr 24, 2024
@jggautier
Copy link
Contributor Author

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

@stevenwinship stevenwinship self-assigned this Jun 5, 2024
@stevenwinship stevenwinship removed their assignment Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Guestbook Size: 3 A percentage of a sprint. 2.1 hours. Type: Bug a defect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants