Symptoms
Message retried via Edit & Retry is processed/sent twice.
Who's affected
Anyone using ServicePulse 2.0.
Root cause
The message is being posted twice - once with the edited body and once with the original body.
Confirmed workarounds
None
Original bug report
#### Description
When doing a Edit & Retry of a message in ServicePulse, both the edited and unedited versions of the message are sent/retried.
Expected behavior
Only the edited version of the message is sent/retried.
Versions
ServicePulse 2.0+
Steps to reproduce
- Run ServiceControl and ServicePulse
- Setup and endpoint with a handler that accepts a message with a boolean property, eg Error
- In the handler, if the property is set to true, throw an error, if it's false process the message successfully
- Run the endpoint with the property being set to
true so that the message ends up in ServicePulse
- In ServicePulse, find the errored message, go to
Edit & Retry, click on Message Body and change the property to false
- Press
Retry and then confirm it
- Notice that the message will be processed by the endpoint twice - once with the edited body and once with the original one, hence it will have one successful processing and one failure.
Symptoms
Message retried via
Edit & Retryis processed/sent twice.Who's affected
Anyone using ServicePulse 2.0.
Root cause
The message is being posted twice - once with the edited body and once with the original body.
Confirmed workarounds
None
Original bug report
#### DescriptionWhen doing a
Edit & Retryof a message in ServicePulse, both the edited and unedited versions of the message are sent/retried.Expected behavior
Only the edited version of the message is sent/retried.
Versions
ServicePulse 2.0+
Steps to reproduce
trueso that the message ends up in ServicePulseEdit & Retry, click onMessage Bodyand change the property tofalseRetryand then confirm it