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

[BUG] Alert names can contain special characters that are invalid in filenames, causing the export to fail #5379

Open
knappl-mmri opened this issue Aug 24, 2022 · 0 comments
Labels
bug Something isn't working Internal-Issue-Created An issue has been created in NextGen's internal issue tracker RS-9211 triaged

Comments

@knappl-mmri
Copy link

Describe the bug
Alert names can contain special characters that are invalid in filenames (e.g. :, /, %, $) which cause the export to fail.
The export file name is created up to the point of the invalid character, there is no file extension, and the file is empty.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Alerts'
  2. Click on an existing alert
  3. Append ": testing" to the alert name
  4. Save alert
  5. Export alert
  6. Accept the default filename
  7. Information message indicates the alert was written successfully to the default filename.
  8. Go to Windows File Explorer, navigate to path of exported alert.
  9. The export file name is created up to the point of the invalid character (the colon, in this example), there is no file extension, and the file is empty.

Expected behavior
The export filename is expected to match the alert name; the extension should be xml, the file should contain the alert code.

Actual behavior
The export file name is created up to the point of the invalid character, there is no file extension, and the file is empty.

Environment (please complete the following information):

  • OS: Windows 10
  • Java Distribution/Version Java 1.8.0_181
  • Connect Version 4.1.0, 3.10.1

Workaround(s)
Remove the invalid character(s)

Additional context
Invalid characters are not allowed in other areas, e.g. Channel names.

@knappl-mmri knappl-mmri added the bug Something isn't working label Aug 24, 2022
@lmillergithub lmillergithub added triaged Internal-Issue-Created An issue has been created in NextGen's internal issue tracker RS-9211 labels Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Internal-Issue-Created An issue has been created in NextGen's internal issue tracker RS-9211 triaged
Projects
None yet
Development

No branches or pull requests

2 participants