[Announcement] Busy plugin v2.1 released

If you are using Servoy 5.2+ you will need this version.

If you installed the v2.0 you must update to this version which fixes a major bug with the processFunction being called in a wrong Thread where some calls were failing (databaseManager calls notably).

I worked very hard to definitely fix the cancel call which was done AFTER the process itself was finished (!) in the web client, using a combination of Ajax direct call, Server plugin, RMI service and Servlet service in Web client.

Download from ServoyForge: Files - Busy Plugin - ServoyForge
Also check the wiki for the (little) changes introduced in this version: About - Busy Plugin - ServoyForge

Thank you Patrick !

Hi Patrick,

What is the relationship between the busy-v2.jar and the busy.jar. Should we be renaming the busy-v2.jar to busy.jar?

Dean Westover

Well, you don’t want the two of them in your /plugins folder that’s for sure!
So either replace busy.jar or get rid of it and use v2 instead.

I named it busy-v2.jar to clearly state that this is a different one!

Both version cannot be used with all Servoy versions

  • busy.jar will work for Servoy < 5.2
  • busy-v2.jar will work with Servoy >= v5.1 - yes, I am aware of the overlap ;)

Hope this clarifies,

Hi,
is there a chance that the “databaseManager call problem” fix will be backported to version 1.0?
I’m stuck with 4.1.7 and that issue gave me more than one headache.

Hi,

I suggest you file a feature request for this in the tracker of this project.
http://www.servoyforge.net/projects/busy

Hi,

I have a question about some functionality

if I have a loop and after each cycle i want to inform the user, is this possible? (didn’t see something like that in the examples)
Like:

for (var i = 0; i < 10;i++)
{
      //doStuff
      //doMoreStuff

      updateStatusOnScreen('Processed 1'); // --> is this somehow possible?
}

Thanks.

It is not possible to change the display while the busy plugin blocks the display, that’s the whole point! :)

But please open a feature request on the ServoyForge project and I’ll see if I can add a mechanism to change the text message, although I’m not sure that this will be possible in web client.

Does changing the display also mean: opening a form in dialog? Is that the reason why plugins.file.writeFile() inside the busy block does not work correct?
In webclient writeFile shows a file selection dialog for entering the place where the downloaded file will be stored.

Exactly. The display is blocked and nothing can happen between the server (where the method is executed) and the browser until the end or cancellation of the process.

with the older version of the busy.jar you could update the text, with every step…

With Servoy 5.2+ this older version would simply not work.

I am successfully using the v2.1.4 in Web Client. However, sometimes when a process starts, I just get the usual Servoy “Loading…” indicator instead of the busy screen. Any ideas as to why? This is even for processes that are 30 seconds or longer.

Please open a case at the ServoyForge project issue tracker, with precise explanation of your environment (Servoy version, Plugin version, Browser version), and if possible a sample solution.