Closed
Description
Ⅰ. Issue Description
- [#5682] 修复saga模式下replay context丢失startParams问题
reopen!
Ⅱ. Describe what happened
protected Map<String, Object> replayContextVariables(StateMachineInstance stateMachineInstance) {
Map<String, Object> contextVariables = new HashMap<>();
**if (stateMachineInstance.getStartParams() == null) {**
contextVariables.putAll(stateMachineInstance.getStartParams());
}
Ⅲ. Describe what you expected to happen
protected Map<String, Object> replayContextVariables(StateMachineInstance stateMachineInstance) {
Map<String, Object> contextVariables = new HashMap<>();
**if (stateMachineInstance.getStartParams() != null) {**
contextVariables.putAll(stateMachineInstance.getStartParams());
}
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
Metadata
Metadata
Assignees
Labels
No labels
Activity