# Servoy 3.1.5

**URL:** https://forum.servoy.com/t/servoy-3-1-5/7487
**Category:** Classic Servoy
**Created:** [May 11, 2007, 1:33pm UTC](https://forum.servoy.com/t/servoy-3-1-5/7487 "2007-05-11T13:33:27Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![svroemisse](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@svroemisse](https://forum.servoy.com/u/svroemisse)
#### Post date: [May 11, 2007, 1:33pm UTC](https://forum.servoy.com/t/servoy-3-1-5/7487/1 "2007-05-11T13:33:27Z")

</div>

We announce the immediate availability of Servoy 3.1.5

Make a backup of your current Servoy installation (directory and database) before installing.

This version will also be available through auto update for 3.x.x users shortly (check via help menu → check for new version)

**Changes**  
[enh] in find mode, when you create a new record, the first field is focused  
[enh] when solutions are imported, existing styles (same name) with different uuid are deleted when overwrite styles flag is set  
[enh] increased max perm size for use as a Windows service

[chg] all data renders will be set to find mode instead of ui disable  
[chg] workaround for printing problem with Java 1.6  
[chg] search strings are no longer trimmed as it might break like clauses

[fix] DatabaseManager.getTableNames() no longer returns views - use the new DatabaseManager.getViewNames() to get view names  
[fix] allow search on self join relations on the primary key  
[fix] validation onChange not always working in table views when focus lost  
[fix] fix for javascript array conversion to a Java object array calling a plugin with null element  
[fix] multideveloper: repository dialog can’t be shown if there are solutions opened by other developers (and vice versa)  
[fix] editing symbol no longer shown unnecessarily  
[fix] refresh problem for related foundset when they are partly based on globals  
[fix] links can no longer be clicked when html editor is disabled  
[fix] expand and better selection behavior of dataprovider dialog table and server tree  
[fix] fix for printing, and optimize for single line text fields  
[fix] fix for form security (accessibility) when changing view type  
[fix] fixed problems with importing solution using identity column in PostgreSql  
[fix] udp plugin reporting wrong packet length  
[fix] changes made by spell checker sometimes went unnoticed by auto save mechanism  
[fix] fix for non-editable calendar  
[fix] solution clean import problem fixed when security info for removed elements was exported  
[fix] script search in combination with modules  
[fix] problems when pressing ctrl-N numerous times

**Previous release**  
[http://forum.servoy.com/viewtopic.php?t=8069](http://forum.servoy.com/viewtopic.php?t=8069)

---

<div class="post-metadata">

### Author: ![Jan\_Blok](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jan\_Blok](https://forum.servoy.com/u/Jan_Blok)
#### Post date: [May 15, 2007, 3:12pm UTC](https://forum.servoy.com/t/servoy-3-1-5/7487/2 "2007-05-15T15:12:13Z")

</div>

There seems to be an issue related to html-area print sliding in Servoy 3.1.5, we will correct this in Servoy 3.1.6

---

<div class="post-metadata">

### Author: ![DomTom](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@DomTom](https://forum.servoy.com/u/DomTom)
#### Post date: [May 17, 2007, 3:48pm UTC](https://forum.servoy.com/t/servoy-3-1-5/7487/3 "2007-05-17T15:48:38Z")

</div>

The fields are no more saved when I changed them in combination with a global method that change the background color :

//retrieve form name  
var formName = application.getMethodTriggerFormName();  
//Make label below field transparent to see red color of selected field from the row selected  
//Retrieve the element name of the field where user just click  
var elem1 = application.getMethodTriggerElementName();  
//The element name of the empty label below the field is the same except the first char  
var elem2 = ‘e’ + elem1.substr(1 ,49);  
//set the empty label below the field transparent in order to see red color from selected row  
forms[formName].elements[elem2].transparent = !forms[formName].elements[elem2].transparent;

---

<div class="post-metadata">

### Author: ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)
#### Post date: [May 18, 2007, 8:31am UTC](https://forum.servoy.com/t/servoy-3-1-5/7487/4 "2007-05-18T08:31:10Z")

</div>

DomTom: that piece of script is attached to the onChange of the field?  
do you have a sample solution that demonstraties this?  
can you attach this to a case in our support system?

---

<div class="post-metadata">

### Author: ![DomTom](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@DomTom](https://forum.servoy.com/u/DomTom)
#### Post date: [May 18, 2007, 10:03am UTC](https://forum.servoy.com/t/servoy-3-1-5/7487/5 "2007-05-18T10:03:12Z")

</div>

DomTom: that piece of script is attached to the onChange of the field?

No the piece of script is attached to the onFocusGained and onFocusLost.

DomTom

---

<div class="post-metadata">

### Author: ![DomTom](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@DomTom](https://forum.servoy.com/u/DomTom)
#### Post date: [May 18, 2007, 10:57am UTC](https://forum.servoy.com/t/servoy-3-1-5/7487/6 "2007-05-18T10:57:28Z")

</div>

I will create a sample solution with that, but how can I attach this to a case in your support system?

DomTom.

---

<div class="post-metadata">

### Author: ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)
#### Post date: [May 18, 2007, 11:11am UTC](https://forum.servoy.com/t/servoy-3-1-5/7487/7 "2007-05-18T11:11:22Z")

</div>

[http://forum.servoy.com/viewtopic.php?t=6062](http://forum.servoy.com/viewtopic.php?t=6062)

---

<div class="post-metadata">

### Author: ![DomTom](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@DomTom](https://forum.servoy.com/u/DomTom)
#### Post date: [June 6, 2007, 6:01am UTC](https://forum.servoy.com/t/servoy-3-1-5/7487/8 "2007-06-06T06:01:58Z")

</div>

I had just create a small solution with one form that demonstrate the error.  
The same error occurs in 3.1.5 and 3.1.6. (all is ok in 3.1.4).

Servoy Developer  
Version 3.1.6-build 410  
Java version 1.5.0\_07-87 (Mac OS X)

So it seems that when you run method link to the field property : onFocusLost  
if the method do something with “foms gui” the changed you just made are not saved in database.

I attach the different versions.

[showError316.servoy](https://forum.servoy.com/uploads/short-url/qjE5W6yJAqxRGBMXVZS7WeJGtfx.servoy) (4.71 KB)

[showError315.servoy](https://forum.servoy.com/uploads/short-url/9kTNd2mushiRB9p6yMLYrMrn8gv.servoy) (4.57 KB)

[showError314.servoy](https://forum.servoy.com/uploads/short-url/Bjtx9ShEjtjBBFBqlJb1WUOIji.servoy) (4.55 KB)

---

<div class="post-metadata">

### Author: ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)
#### Post date: [June 15, 2007, 2:11pm UTC](https://forum.servoy.com/t/servoy-3-1-5/7487/9 "2007-06-15T14:11:11Z")

</div>

thx this will be fixed in the next version of 3.1
