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

underscores are escaped strangely with backslashes and accumulate #577

Open
pdurbin opened this issue Jan 9, 2025 · 2 comments
Open

underscores are escaped strangely with backslashes and accumulate #577

pdurbin opened this issue Jan 9, 2025 · 2 comments
Assignees
Labels
bug Something isn't working FY25 Sprint 15 FY25 Sprint 15 (2025-01-15 - 2025-01-29) GREI Re-arch GREI re-architecture-related Original size: 3 Size: 3 A percentage of a sprint. 2.1 hours. SPA.Q1 Not related to any specific Q1 feature SPA

Comments

@pdurbin
Copy link
Member

pdurbin commented Jan 9, 2025

What steps does it take to reproduce the issue?

Enter [email protected] under "Point of Contact".

  • When does this issue occur?

Always.

  • Which page(s) does it occur on?

https://beta.dataverse.org/spa/datasets?persistentId=doi:10.5072/FK2/SMVWNZ

  • What happens?

The email is rendered strangely as philip\\\[email protected]

  • To whom does it occur (all users, curators, superusers)?

All users.

  • What did you expect to happen?

The email should be rendered as [email protected]

Which version of Dataverse Frontend are you using?

66fd102

The version of the backend is IQSS/dataverse@6d6a509 if it helps.

Any related open or closed issues to this bug report?

Not that I could find.

Screenshots:

Screenshot 2025-01-09 at 12 35 25 PM

@ChengShi-1
Copy link
Contributor

Hi Phil,

Thanks for finding and creating this issue!

Here are some details about this issue:

When I first create datasets using my email, which includes an underscore in the middle. Initially, it didn’t display any unusual characters such as \ or others.
image.

However, when I clicked on "Edit Dataset" and opened the form, \ appeared before the underscore in the email. Every time I edited other contents and saved, the \ would reappear in front of the email and accumulate.
image.

@pdurbin pdurbin changed the title emails with underscores are escaped strangely with backslashes underscores are escaped strangely with backslashes and accumulate Jan 10, 2025
@pdurbin
Copy link
Member Author

pdurbin commented Jan 10, 2025

@ChengShi-1 ah, thanks for clarifying. I updated the title of this issue and added "accumulating". You're right, all fields are affected, not just email. Here's a test with the dataset title:

Screenshot 2025-01-10 at 10 53 43 AM

@g-saracca g-saracca added bug Something isn't working Size: 3 A percentage of a sprint. 2.1 hours. GREI Re-arch GREI re-architecture-related SPA Original size: 3 labels Jan 15, 2025
@g-saracca g-saracca moved this to This Sprint 🏃‍♀️ 🏃 in IQSS Dataverse Project Jan 15, 2025
@g-saracca g-saracca added the SPA.Q1 Not related to any specific Q1 feature label Jan 15, 2025
@cmbz cmbz added the FY25 Sprint 15 FY25 Sprint 15 (2025-01-15 - 2025-01-29) label Jan 15, 2025
@ChengShi-1 ChengShi-1 self-assigned this Jan 17, 2025
@ChengShi-1 ChengShi-1 moved this from This Sprint 🏃‍♀️ 🏃 to In Progress 💻 in IQSS Dataverse Project Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working FY25 Sprint 15 FY25 Sprint 15 (2025-01-15 - 2025-01-29) GREI Re-arch GREI re-architecture-related Original size: 3 Size: 3 A percentage of a sprint. 2.1 hours. SPA.Q1 Not related to any specific Q1 feature SPA
Projects
Status: In Progress 💻
Development

No branches or pull requests

4 participants