Servoy 7.4.5

We are pleased to announce the availability of Servoy 7.4.5 releaseNumber 2041).

This version is available through the download option on the Servoy website and auto update.
Always make a backup of your current Servoy installation (directory and database) before installing/upgrading.
To update a Servoy eclipse open “Check for updates” via help menu.

The upgrade of tomcat only is visible in new installs (we wont upgrade tomcat of an existing install).
This new tomcat version should make it easier to handle all the ssl changes that did happen after/around version 6.0.37

The issues addressed, since Servoy 7.4.5 RC release:

[enh] SVY-8879 upgrade Tomcat 6.0.37 to 6.0.44
[enh] SVY-7715 Load records by query for querys that don’t start with select
[fix] SVY-9007 label linked to field in portals
[fix] SVY-8907 databaseManager.copyMatchingFields(src, dest) no longer copies fields with a converter.
[fix] SVY-8833 Issue with elements that extend deleted elements from parent form

Issues in that where addressed in 7.4.5 RC:

Developer

[fix] SVY-7341 Developer will not run under Java 8 / Yosemite (Mac OS X 10.10)
[fix] SVY-7800 War Exporter full deselect of plugins/beans/lafs (and drivers but there we have required 1 selection) isnt remembered
[fix] SVY-8264 problem_with value_list type
[fix] SVY-8417 Selecting a TabPanel in the Outline view doesn’t select the TabPanel in the Form Editor
[fix] SVY-8481 WAR Export: L&F-related jars in LAFS folder don’t end up in WAR file
[fix] SVY-8615 Servoy developer will hang (repeatable)
[fix] SVY-8684 Unable to control the timeout when running unittests in Developer
[fix] SVY-8689 Error in documentation of jsDataset.setValue

Client

[fix] SVY-7996 Servoy deletes wrong record - Regression
[fix] SVY-8197 aplication.closeSolution triggers solution onOpen event two times
[fix] SVY-8402 Check or radio not triggered when coming from another field
[fix] SVY-8540 SCrolable tableview doesn’t show correct record after viewing detail
[fix] SVY-7715 Load records by query for querys that don’t start with select

SmartClient

[fix] SVY-6302 selectOnEnter OSX does not work correct (annoying)
[fix] SVY-8180 Light text on dark background in comboxes in smart client unreadable
[fix] SVY-8307 error loading dataset into foundset using foundset.loadRecords(dataset)

WebClient

[fix] SVY-8182 HTML tooltip incorrectly displayed for disabled button
[fix] SVY-8229 onDataChange is not fired after onRecordSelection in listview
[fix] SVY-8298 When using spaces inside search keys, filtering doesn’t work in Typeaheads
[fix] SVY-8353 Selecting editable calculation field in a grid - does not change the selection to the record
[fix] SVY-8425 Images not scale in Webclient
[fix] SVY-8440 Table view fields pushed off right of window
[fix] SVY-8453 Updating the border on a label in the WC will change the label’s height
[fix] SVY-8487 Stylesheet is not pushed to the Servoy file uploader
[fix] SVY-8488 When uploading multiple files the text is not updated
[fix] SVY-8629 When a format is applied to a field with a number as dataprovider, the number reapears after you just removed it
[fix] SVY-8642 Treeview broken in MS-Edge (W10)
[fix] SVY-8798 nullPointer in the logs (setting css properties)

Mobile Client

[fix] SVY-8468 Vertical scrollbars disappear on Android 5.0/5.1
[fix] SVY-8531 Vertical scrollbar appears even if page doesn’t needs one

Server

[fix] SVY-8675 WAR deployment doesn’t propagate column aliases

Jasper

[fix] SVY-8220 .jasper report fails when fired for the first time in webclient!
[fix] SVY-8294 fixing virtualizer issue servoyforge
[fix] SVY-8371 Jasper plugin: getReportParameters broken
[enh] SVY-8373 JasperPlugin getReportParameters: add isForPrompting property

Extensions

[fix] SVY-8752 plugins.mail.isValidEmailAddress(harjo@kompagnie.amsterdam) fails
[enh] SVY-2200 Allow setting of column names in excel export (backported)
[enh] SVY-7633 Restful plugin: add option to return data with a PUT request
[fix] SVY-8669 .docx and .xlsx files cannot be posted to REST plugin

Hi, Johan.

It was good to see you again at Servoy World!

I am very happy that Jasper Plugin problems/features are being tracked in the Servoy support system…a good decision. Does this mean that the Jasper plugin changes are now distributed in each Servoy release, or should we continue to download the plugin from ServoyForge as before (the last update on ServoyForge was 07/08/2015)?

Thanks!

no they are not distributed by us, thats servoy forge.
I also don’t know if we can really do that license wise…

Is there some kind of policy when Jasper report plugin updates become available on Servoyforge
after fixes ?

not a direct policy but we will try to do releases when we have some fixes done

[fix] SVY-7341 Developer will not run under Java 8 / Yosemite (Mac OS X 10.10)

I have ONLY Java 1.8.0_60 installed on my Mac OS X 10.10.5.

To get Servoy Developer 7.4.4 running, I had to make a new clean install of Servoy.

Now I have updated to 7.4.5 and the same problem again!
[attachment=0]serv_745.png[/attachment]

For me nothing is fixed on running Servoy Dev. under Java 8!

so 7.4.4 did work, and then just upgrading to a new 7.4.5 it started to complain about that?
Then i really wonder what is really changed in the plist file or something like that.

As you can read in my first post, I had to make a clean install of Servoy 7.4.4 to get it running under Java 8!

First I was happy to see that the Java 8 issue on Mac is fixed and I decided to upgrade and not to make a clean install once again.
Now I’m dissapointed because I have a lot of more work to get Servoy 7.4.5 running… and loosing faith in version fixes.

I just tried to reproduce this:
-uninstalled every jdk I had, now even when trying to open Eclipse I got that “you need to instal Java SE 6” message
-installed latest JDK (_66) from oracle
-installed Servoy 7.4.4 and updated to 7.4.5 and it just works…

What does ```
which java | xargs ls -l


For me it's 
lrwxr-xr-x 1 root wheel 74 Oct 3 02:33 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java

If it's the same, what does ```
/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java_home
``` return?

Does changing the Info.plist of the jdk itself help in any way, <a class="postlink" href="http://stackoverflow.com/questions/19563766/eclipse-kepler-for-os-x-mavericks-request-java-se-6">http://stackoverflow.com/questions/1956 ... -java-se-6</a>?

I think I spoke too soon. I did manage to reproduce it. Investigating now what causes this.

gganea:
I think I spoke too soon. I did manage to reproduce it. Investigating now what causes this.

What version of Mac OS X do you have?

I’m on El Capitan 10.11.1.

gganea:
I’m on El Capitan 10.11.1.

Ok, please have a look here: https://www.servoy.com/forum/viewtopic.php?f=11&t=21064

I got it working after changing the JVMCapabilities section in the Info.plist file of the JDK to

<key>JVMCapabilities</key>
 <array>
  <string>BundledApp</string>
  <string>CommandLine</string>
 </array>

A log out and log in was also required.
Please see:
http://stackoverflow.com/questions/2684 … -6-runtime

I think it would be a little bit grazy to have to edit the JDK info.plist file to get Servoy Developer running on a Mac with up-to-date OS X and Java versions…

… and why do you have added only the <BundledApp> without the others posted on stackoverflow?

Regards Thomas

i guess eclipse really only needs that specific one i guess, but it wouldn’t hurt to add then all
but there are so many post around the internet about this for example:

https://derflounder.wordpress.com/2015/ … s-on-os-x/ (see also the follow up of that again)

its just that the Oracle forgets to fully register all the capabilities that java can expose to the system.

I guess there should also be bug reports in the bug database at oracle for this (there are quite many if i try to search for info.plist there)

I’ve only added BundledApp because that was the minimum change required for the OS X to start the developer.
After some more investigation this morning I found that the problem is that an update causes a change in the file servoy.app/Contents/Info.plist, specifically this

<key>CFBundleIdentifier</key>
		<string>org.eclipse.platform.ide</string>

turns into

<key>CFBundleIdentifier</key>
		<string>org.eclipse.eclipse</string>

Looks like this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=436089 causes this.
As a workaround, if you simply edit that org.eclipse.eclipse back into org.eclipse.platform.ide then it should start. This should work even if the jdk .plist is unchanged.

We are using the http-plugin to post new solutions (through admin page) into Servoy Application Server.
That works fine in Servoy 5 and Servoy 7.4.4
In 7.4.5 this is broken (Tomcat upgrade ?).
We use this code :
// _solution is file-object

var _client = plugins.http.createNewHttpClient()
_client.setTimeout(0)
_poster = _client.createPostRequest(_url)
_poster.addFile(‘if’, ‘file’, _solution.getAbsolutePath())
_poster.addParameter(‘ac’,‘on’) // Activate new release of imported solution and modules
// and more parameters

var _response = _poster.executeRequest(_admin_user, _admin_password) // _httpCode 200 is ok

The executeRequest returns immediately and _response has no value.
Strange thing is that smaller solution files import just fine!

Help!

so it is just a problem with big solution files?
(how big is big?)

the whole process just works fine and the same as before?

and that same file can be imported just fine through the admin page?
(because that would be then quite weird if you ask me, because htttp plugin is just the browser doing the same post request…)

Maybe tomcat now has a different default maybe you should look at the server.xml and then the connector:

http://stackoverflow.com/questions/2947 … -in-tomcat

to set the maxPostSize

Solution size is about 6 Mb. The small ones are < 300Kb.
Besides of this everythings works fine.
The same file can be imported through the admin page just fine.
Imho importing through browser is technically not 100% the same as through http-plugin.

I cannot locate the connector and the setting maxpostSize.
Where can I find those ?