Servoy 3.1.5

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

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

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;

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?

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

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

DomTom.

http://forum.servoy.com/viewtopic.php?t=6062

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 (4.71 KB)

showError315.servoy (4.57 KB)

showError314.servoy (4.55 KB)

thx this will be fixed in the next version of 3.1