Slack Detailed Notification failed if the release notes includes some special characters like & or |
Step template
Slack Detailed Notification
Step template parameter inputs
release notes include some special characters like & or |
Step template version
latest
Step template related environment information
If the step template is for a specific software/hardware, please provide as much information about the software/hardware as possible to make it easy for us to replicate the issue
Octopus Server version
2019.3.5 LTS
Expected behavior
step pass successfully
Actual behavior
step failed
Possible solution
exclude the special characters or parse it correctly
Steps to reproduce the problem (for bugs)
create a build with Slack Detailed Notification and with the release notes that includes some special characters like & or |
Hi @undefined77,
I've been trying to replicate this issue but without success with our recent versions of Octopus.
Could you please provide the error you're seeing with this step in your deployment process? This may give us a better idea as to what is causing the issue.
Thank you, Henrik
hi Henrik, we use 2019.3.5 LTS. Unfortunately we do not store all of the previous builds and I have disabled the release notes to be included for now as it fails. Previously I have enabled all the information to be included in the webhook message, also the release notes, when the release notes include special characters like & of | it just fails and throw an exception and does not send a message
Hi @undefined77,
I've tried to replicate the issue on a local environment running Octopus 2019.3.5 but I am still unable to replicate the issue.
Can you please tell me what OS and PowerShell version your Octopus Server is running on? And also, if the step is configured to run on a deployment target, the same details for the deployment target the step runs on.
Cheers, Henrik
@undefined77 Is this still an issue?
Closing issue due to inactivity.