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 export is malformed #2178

Closed
SamuelBittmann opened this issue Dec 2, 2024 · 3 comments
Closed

CSV export is malformed #2178

SamuelBittmann opened this issue Dec 2, 2024 · 3 comments
Labels
Type: Bug Type: Bug

Comments

@SamuelBittmann
Copy link

Describe the bug

Description

When I export one or more failed messages, the CSV seems to be malformatted. This makes the CSV output almost unusable for me, since tools (e.g. PowerShell and Excel) cannot correctly import this data.

Expected behavior

  1. The exported CSV uses consistent separators for columns (e.g. always commas or tabs) across header and value rows
  2. Values are correctly enclosed in ", especially multiline values (e.g. stack traces)

Actual behavior

  1. The header columns are separated by tabs, the columns in the value rows by commas
  2. The values are not enclosed/escaped at all, not even multiline stack traces

Versions

ServicePulse v1.42.1

Steps to reproduce

  1. In ServicePulse, navigate to failed messages
  2. Select one or more failed messages
  3. Click on "Export x selected"

Relevant log output

No response

Additional Information

Workarounds

Possible solutions

Additional information

@dvdstelt
Copy link
Member

dvdstelt commented Dec 4, 2024

Hi, the fix shouldn't be too hard. We're assuming we fixed it and are currently testing it, since there were also some updates of packages.
We'll let you know here as soon as we release the fix.

@ramonsmits ramonsmits added the Type: Bug Type: Bug label Dec 4, 2024
@ramonsmits
Copy link
Member

Fixed in

@ramonsmits ramonsmits changed the title CSV export is improperly formatted CSV export is malformatted Dec 5, 2024
@ramonsmits ramonsmits changed the title CSV export is malformatted CSV export is malformed Dec 5, 2024
@SamuelBittmann
Copy link
Author

Just tested it, works great. Thanks for fixing it so quickly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Type: Bug
Projects
None yet
Development

No branches or pull requests

3 participants