data not saved in database.

Hello,

I had just created 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 user interface” the changed you just made are not saved in database.
If you change the field cot_d_test1 and you left the field, change just done disappears.

I attach the different versions.

DomTom.

:!:

showError316.servoy (4.71 KB)

showError314.servoy (4.55 KB)

I tried the solution with 3.5 and the data is saved but the colors are changed only after every two focus lost events - so not ok.

With the future 3.5.1 release, the solution seems to work fine.

Hello,

I test again in 3.5 and it’s ok. :)

But still not working in 3.1.7 :?:

Bye.