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

CSV Extract from NeoDash adds quotes and leading white space #1012

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JonanOribe
Copy link
Contributor

@JonanOribe JonanOribe commented Dec 6, 2024

PR related to reopened bug fix #363

Copy link

sonarqubecloud bot commented Dec 6, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
C Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@alfredorubin96 alfredorubin96 added the 2.4.10 For this release label Jan 21, 2025
@bastienhubert bastienhubert added the bug Something isn't working label Jan 28, 2025
Copy link
Collaborator

@bastienhubert bastienhubert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just finished the review, I think we should continue to "stringify strings" while exporting CSVs, what do you think @alfredorubin96?

csv += value;
}else{
csv += `${JSON.stringify(value)}`;
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @JonanOribe, I think we should keep "stringified strings", in order to avoid this phenomena when string value contains delimiter characters

Non stringified version:
Capture d’écran 2025-01-28 à 15 39 09

Stringified version:
Capture d’écran 2025-01-28 à 15 38 43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting feedback bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CSV Extract from NeoDash adds quotes and leading white space
3 participants