Details
-
Type:
Bug Report
-
Status: Closed
-
Priority:
L3 - Default
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.25.0, 0.25.0-alpha2, 0.25.0-rc1
-
Component/s: frontend, Variables Panel
-
Labels:None
Description
Bug description
Currently the UI allows adding variables to finished instances, even though they are not persisted
Steps to reproduce the behavior
1. Go to instance detail view of a running workflow instance
2. Click on "Add Variable" in the variable panel, so the input fields shows up
3. Cancel the instance using the Cancel button at the top
4. Wait until the instance is canceled
5. Add a variable name and value
6. Click Submit
Problem - Current Behavior
- It is possible to submit variable name and value after the instance is finished
- The added variable disappears again without notice
- A spinner appears in the header and does not disappear
Expected behavior
- It should not be possible to submit variables on finished instances
Possible solutions:
- Remove the input fields after the user has cancelled the instance.
- Prevent cancelling an instance if the user is about to add a variable (visible input fields)
Environment and Additional Information
- OS: any
- Browser: any