-
Bug
-
Resolution: Fixed
-
Neutral
-
2.4.6, 2.5
-
None
-
None
-
-
Empty show more show less
-
Basel 70
-
2
Maybe sort of corner case, still I'd like to report it and fix it (should be easy)
To reproduce it:
- execute a "long-running" groovy script (anything which takes more than 200ms )
- the script will send a notification and a message to pulse when done
- now try to upload a big file in Assets
- cancel the upload before it's done
- the groovy script done notify and message appear out of the blue
The reason should lie in the fact that we remove instances of ScriptDonePollListener from the current UI each time we run MgnlGroovyConsole#runAsync and not when the script is done at MgnlGroovyConsole.ScriptDonePollListener#poll.
Vaadin's PollListener s apparently react to any polling event, no matter which component registered it.
Acceptance criteria