Uploaded image for project: 'Magnolia Groovy Module'
  1. Magnolia Groovy Module
  2. MGNLGROOVY-132

Running groovy script should not block the UI

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 2.4.6, 2.5
    • 2.3.2
    • None
    • M5.3.7-SNAPSHOT
    • Basel 56
    • 13

      When running a groovy script from the editor (launched with "RUN" button), it blocks the UI until the script has finished/terminated.
      If the script takes a long time, it leads to a session timeout (indicated by that red box).

      It would be nice to have the possibility use other apps (whatever) during the script runs.
      The combination of blocked UI and (possible) timeout might be confusing for users, since the don't know whether the script really has finished successfully (since the mini groovy console cannot display anything after a timeout).


      Interesting read before tackling this issue https://vaadin.com/wiki/-/wiki/Main/Using+server+initiated+events

        Acceptance criteria

              fgrilli Federico Grilli
              cmeier Christoph Meier
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 2.75d
                    2.75d