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

Newlines in description break the BP configuration #311

Closed
sciolto opened this issue Oct 18, 2021 · 0 comments · Fixed by #339
Closed

Newlines in description break the BP configuration #311

sciolto opened this issue Oct 18, 2021 · 0 comments · Fixed by #339
Assignees
Labels
bug Something isn't working
Milestone

Comments

@sciolto
Copy link

sciolto commented Oct 18, 2021

Describe the bug

The frontend allows to add a description of a business process, with a multiline textarea field. Adding a new line actually breaks the configuration

To Reproduce

  1. Create a BP
  2. Fill the description field with at least 1 new line
  3. Save the configuration
  4. A error message appears

Expected behavior

The business process configuration is supposed to be written correctly, but is corrupt.

Screenshots

If applicable, add screenshots to help explain your problem.

Your Environment

Include as many relevant details about the environment you experienced the problem in

  • Icinga Web 2 version and modules (System - About): 2.8.5 (icingaweb2-module-businessprocess 2.3.0 )
  • Web browser used: Chrome
  • Icinga 2 version used (icinga2 --version): 2.11.9
  • PHP version used (php --version): 7.3
  • Server operating system and version: CentOS 7.9
@sciolto sciolto changed the title Newlines in description break the BP cnfiguration Newlines in description break the BP configuration Oct 18, 2021
@nilmerg nilmerg added the bug Something isn't working label Oct 25, 2021
@nilmerg nilmerg added this to the 2.5.0 milestone Jul 20, 2022
@raviks789 raviks789 self-assigned this Aug 1, 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
Projects
No open projects
3 participants