Library icon indicating copy to clipboard operation
Library copied to clipboard

Slack Detailed Notification failed if the release notes includes some special characters like & or |

Open undefined77 opened this issue 2 years ago • 4 comments

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 |

undefined77 avatar Apr 19 '23 13:04 undefined77

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

hnrkndrssn avatar Apr 26 '23 03:04 hnrkndrssn

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

undefined77 avatar Apr 26 '23 08:04 undefined77

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

hnrkndrssn avatar May 08 '23 04:05 hnrkndrssn

@undefined77 Is this still an issue?

twerthi avatar Oct 18 '23 16:10 twerthi

Closing issue due to inactivity.

twerthi avatar Jun 18 '24 16:06 twerthi