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

Running groovy script should not block the UI

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 2.3.2
    • Fix Version/s: 2.4.6, 2.5
    • Component/s: None
    • Labels:
    • Environment:
      M5.3.7-SNAPSHOT
    • Sprint:
      Basel 56
    • Story Points:
      13
    • Magnolia Release:
      5.4.9, 5.5

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  Time Tracking

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