Servoy 2020.03

Servoy announcements

Re: Servoy 2020.03

Postby Joas » Wed Apr 15, 2020 10:33 am

jcompagner wrote:that is not removed

this for example should work fine:

var bytes = utils.stringToBytes("test string");
var string = utils.bytesToBase64(bytes);
application.output(string)
var bytes2 = utils.base64ToBytes(string);
var string2 = utils.bytesToString(bytes);
application.output(string2)

why do you think that is removed?

My bad! I used a different installer than I thought.... :?
Joas de Haan
Yield Software Development: Need help on your project?
yieldsd.com
User avatar
Joas
Site Admin
 
Posts: 833
Joined: Mon Mar 20, 2006 4:07 pm
Location: Leusden, NL

Re: Servoy 2020.03

Postby steve1376656734 » Wed Apr 15, 2020 11:00 am

@briese-it - the error message you are getting looks a lot like the issue described here: svyUtil 1.4.1, svyIO.zip(): java.util.zip.ZipException
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 248
Joined: Fri Aug 16, 2013 2:38 pm
Location: Lanzarote

Re: Servoy 2020.03

Postby jcompagner » Wed Apr 15, 2020 11:23 am

thats weird, not sure why that is i think those 2 files that it complains about didn't really change for 2020.03 (maybe other signing but we already had that new signing also for 2019.12.1)

we do check if the pack works for jars on the server side (we pack and try to unpack there also again to see if it validates)
But for some reason that i guess works (else we didn't send the pack file) but a certain clients can't unpack it
Maybe this is because of some differences in java version server/client (and between clients)

But Pack200 will be gone because it is already fully removed from Java14, so from that java on (server or client side) you can't use pack200 at all anymore
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8454
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2020.03

Postby briese-it » Wed Apr 15, 2020 11:47 am

Yes, that's really weird Johan.
Signing should not be that problem because I always sign the files after updating. Furthermore the Java version was not changed after the Servoy update.
I have Pack200 deactivated and according to your information it makes no sense to activate it, since it will be removed from Java 14 anyway.
Michael Harms
Briese Schiffahrts GmbH & Co.KG, Germany
- Servoy 2021.3.0.3642 Running on Windows 2019 DataCenter - MSSQL2017 & PostGreSQL
User avatar
briese-it
 
Posts: 155
Joined: Mon Jun 20, 2011 1:50 pm
Location: Leer, Germany

Re: Servoy 2020.03

Postby steve1376656734 » Fri Apr 17, 2020 8:00 pm

Since upgrading to 2020.03 we are getting a lot of warnings in the log similar to the following:

Code: Select all
WARN com.servoy.j2db.util.Debug - Filter is created using a custom query without using the sql-modifier, this will be removed in a future version of servoy, please use operator 'sql:in'

I located the lines that produced this warning and changed the addTableFilter operator from 'IN' to 'sql:in' and this removed the warning. Two observations on this:

  1. There is nothing in the release notes or documentation that mentions this and certainly no mention of any "sql-modifier" in the wiki
  2. When I first tried to fix the issue I changed the operator to 'SQL:IN' as it had previously been 'IN'. This failed completely. Why can I put 'IN' in upper or lower case and it works but as soon as I add the sql-modifier it has to be in lower case?
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 248
Joined: Fri Aug 16, 2013 2:38 pm
Location: Lanzarote

Re: Servoy 2020.03

Postby Richard1521662995 » Tue Apr 28, 2020 2:09 pm

Have just updated to 2020.03 from 2019.12 by checking for updates and installing from there. When prompted upgraded my current workspace. After Servoy starts Solution Explorer has an error. Any ideas on how to fix this and get working again?

Could not create the view: com.servoy.eclipse.ui.views.SolutionExplorerView
java.lang.Exception
at org.eclipse.ui.internal.ViewReference.createErrorPart(ViewReference.java:114)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:100)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPart(CompatibilityPart.java:300)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:338)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:1002)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:967)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:139)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:408)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:331)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:202)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:91)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:60)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:42)
at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:132)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:1002)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:662)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$1.run(PartRenderingEngine.java:547)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:531)
at org.eclipse.e4.ui.workbench.renderers.swt.ElementReferenceRenderer.createWidget(ElementReferenceRenderer.java:73)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:1002)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:662)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:768)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:739)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:733)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:717)
at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1297)
at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.postProcess(LazyStackRenderer.java:105)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:680)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:768)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:739)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:733)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:717)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:72)
at org.eclipse.e4.ui.workbench.renderers.swt.SashRenderer.processContents(SashRenderer.java:140)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:676)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:768)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:739)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:733)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:717)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:72)
at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveRenderer.processContents(PerspectiveRenderer.java:51)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:676)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:768)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:739)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:733)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:717)
at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveStackRenderer.showTab(PerspectiveStackRenderer.java:82)
at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.postProcess(LazyStackRenderer.java:105)
at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveStackRenderer.postProcess(PerspectiveStackRenderer.java:64)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:680)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:768)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:739)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:733)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:717)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:72)
at org.eclipse.e4.ui.workbench.renderers.swt.SashRenderer.processContents(SashRenderer.java:140)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:676)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:768)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:739)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:733)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:717)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:72)
at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.processContents(WBWRenderer.java:665)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:676)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:768)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:739)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:733)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:717)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1086)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1049)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:660)
at org.eclipse.ui.internal.Workbench$$Lambda$130.0000000000000000.run(Unknown Source)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:559)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:154)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)


Thanks
Richard
Richard Clarke
acss.co.uk
Richard1521662995
 
Posts: 25
Joined: Wed Mar 21, 2018 10:09 pm

Re: Servoy 2020.03

Postby jcompagner » Tue Apr 28, 2020 3:02 pm

this needs a fresh install pointing to your workspace
We already investigated this, and there is no way to recover this, somehow eclipse broke the installation when updating (it deletes a plugin that shouldn't be deleted)"
we couldn't also find a fix for that by making the update "better"
A installation like that would always result in a bad installation
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8454
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2020.03

Postby Richard1521662995 » Tue Apr 28, 2020 3:17 pm

Thanks Johan, will download and install.

Richard
Richard Clarke
acss.co.uk
Richard1521662995
 
Posts: 25
Joined: Wed Mar 21, 2018 10:09 pm

Servoy 2020.03 plugin collisions

Postby lwjwillemsen » Fri May 15, 2020 11:38 am

With Servoy2020.03 some jar file collisions with Servoy plugins:

Google2 plugin : httpclient.jar (collision was introduced a bit longer ago), jackson-core.jar.
Servoy Jasperreports: jackson-core.jar and some jackson related jars.

Can those plugins (and maybe others?) be aligned with the shipped Servoy2020.03 jar files?
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 673
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Servoy 2020.03 and x-frames

Postby lwjwillemsen » Sun Jun 07, 2020 6:35 pm

After upgrade to Servoy2020.03 (Tomcat 8.5.5) we are getting x-frame errors when running servoy-webclient at the moment we use dialog windows.
In Chrome empty screen with message: Blocked by policy for x-frame options. I think Tomcat (security) defaults have changed in 8.5.

Can that be fixed for Servoy war file deployment?
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 673
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Servoy 2020.03

Postby jcompagner » Mon Jun 08, 2020 9:18 am

this has nothing todo with tomcat that in inside 2020.03
with WAR deployment that Tomcat is not used at all (but the tomcat you have installed at your server)

If this would be NGClient then i would say this is a CSP problem

see the admin page and then "servoy.ngclient.setContentSecurityPolicyHeader" (and there you have a whole group)

But thats not used for the WebClient, so this sounds more like a browser change or so extra servlet filter you have configured thats does set some headers.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8454
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2020.03

Postby lwjwillemsen » Mon Jun 08, 2020 2:07 pm

yes, sorry, I was wrong. This happens on a Tomcat 9.0 server with a Servoy2020.03 war file.
The Tomcat default web.xml has changed in Tomcat 9.0 in this area and is more restrictive.
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 673
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Servoy 2020.03

Postby lwjwillemsen » Tue Jun 09, 2020 9:44 am

I guess this will be addressed by Servoy when they upgrade to Tomcat 9?
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 673
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Servoy 2020.03

Postby jcompagner » Tue Jun 09, 2020 9:49 am

i have no idea what the exactly problem is
And if it is the default web.xml of a tomcat, thats not something servoy can change.
(except maybe setting stuff up in the web.xml of servoy itself, you can provide your own, based on ours)

but what does tomcat now do then according to you? Does it send suddenly extra set of headers to the client/browser?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8454
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2020.03

Postby lwjwillemsen » Tue Jun 09, 2020 10:25 am

In Tomcat 9.0 is the following enabled (not enabled in Tomcat 8.5):

<filter>
<filter-name>httpHeaderSecurity</filter-name>
<filter-class>org.apache.catalina.filters.HttpHeaderSecurityFilter</filter-class>
<async-supported>true</async-supported>
<init-param>
<param-name>antiClickJackingEnabled</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>antiClickJackingOption</param-name>
<param-value>DENY</param-value>
</init-param>
</filter>

The antiClickJacking security is triggered when a dialog window is opened in servoy_webclient.
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 673
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

PreviousNext

Return to Announcements

Who is online

Users browsing this forum: No registered users and 3 guests