Smart Clients not updating to latest release of solution.

Servoy Support:

My clients are not always updating to the latest release. I have to manually go in and wipe out the
user client cache in C:\Documents and Settings\User.servoy. After wiping this cache the latest active release of the solution is downloaded to the machine. I wrote a hack that will always delete the .servoy directory on solution close but Paul Bakker said that I should make a ticket with support. Below is a link to our discussion.

http://www.servoy.com/forum/viewtopic.php?f=15&t=12452

Servoy Version: 4.1.2 - build 663

Windows Xp clients and developer

Ubuntu Linux App Server with MySQL - 5.0.22

Fixed.

You cannot use the activate on import option when importing servoy solutions.
The way I get my solutions to be active is by disconnecting all clients. Import solution,then flush the active solution if any. Finally, I activate the imported solution and it works great. If I don’t repeat these steps I run into a mess of clients getting the wrong solution.

if you have steps that will reproduce “hanging old” solutions on clients
please make a case for this so that we can look into that and fix it.

We managed to reproduce the issue and we are looking for a fix.

lvostinar:
We managed to reproduce the issue and we are looking for a fix.

We have discovered the same problem, but we could not ascertain whether it is the ‘commit’ or ‘update’ command that is not working. All our work is based on a central server, so this is major problem for us each time we make changes to our solution.

Your post is dated 29 May 2009 which is after the release date of 26 May 2009 for version 4.1.3 (most current release). So, my question is when will the fix will be available?

Hi Kim,

if you are developing AND deploying clients on the same server, you have to FLUSH the solution first (in the servoy-admin-page), before clients will see the changes,
is this the case here?

This issue is about a specific sequence of steps that didn’t work well:

  • import old_version of solution (no other release of solution is in repository)
  • open smart client
  • delete solution
  • import new_version of solution
  • open smart client, the old_version will be displayed instead of new version

After solution flush, the correct version will be displayed (as a workaround). This issue is fixed now and will be included in Servoy 4.1.4 .

Hi, Harjo.

I exported the solution from Developer and imported it to Servoy Server. I thought Servoy Server automatically used the latest imported version and did not realize that I needed to ‘flush’ the buffers. I will give it a try (as it appears it cannot hurt anything)…thanks for the tip!