Commit 433401e
committed
fix(a2asrv): skip TaskID mismatch check when message has no task reference (fixes #350)
When loadExecutionContext receives a message without a TaskID
(e.g. on retry in cluster mode), the condition message.TaskID != tid
falsely rejects it because the empty-string TaskID cannot match any
real tid. Add an empty-string guard so messages with no task reference
are accepted.1 parent 6a48d4b commit 433401e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
0 commit comments