Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-8753

Unblock the AsyncActionExecutor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.3.0, 6.2.44
    • None
    • None

      Steps to reproduce

      1. Select an item  
      2. Perform an Async command action such as delete item (mark item for deletion) or restore previous version
      3.  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

              aichimescu Andrei Ichimescu
              aichimescu Andrei Ichimescu
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started:

                  Bug DoR
                  Task DoD