-
Bug
-
Resolution: Fixed
-
Neutral
-
None
-
None
Steps to reproduce
- Select an item
- Perform an Async command action such as delete item (mark item for deletion) or restore previous version
- Notice the execution time
.. Logs, screenshots, gifs...
Expected results
The Delete item action is not a heavy operation so the execution time should not exceed 1 second
.. Justify non-trivial expectations with a link to a doc or a relevant discussion.
Actual results
The actions will complete after exactly CommandActionDefinition.timeToWait milliseconds (5 seconds).
A notification message: "This action will take a while to complete. You will be notified once it has completed." is being shown to the user and it dissapears immediatly, making the UI to behave with a glitch. This message appears because the action that is executed allways timeouts after CommandActionDefinition.timeToWait.
Workaround
n/a
Development notes
Another optimization is to set up the default delay time of the commandActionDefiniton to 0.
Acceptance criteria