Servoy 2020.03

Servoy announcements

Re: Servoy 2020.03

Postby Joas » Tue Apr 07, 2020 5:12 pm

Yes, I have the Basic_Servoy_JasperReports_Plugin_v.6.12.2_2020.03
Joas de Haan
Yield Software Development: Need help on your project?
yieldsd.com
User avatar
Joas
Site Admin
 
Posts: 817
Joined: Mon Mar 20, 2006 4:07 pm
Location: Amersfoort, NL

Re: Servoy 2020.03

Postby steve1376656734 » Tue Apr 07, 2020 5:29 pm

I have Barcode_Servoy_JasperReports_Plugin_v.6.12.2_2020.03
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 233
Joined: Fri Aug 16, 2013 2:38 pm
Location: Lanzarote

Re: Servoy 2020.03

Postby Gabi Boros » Wed Apr 08, 2020 12:42 pm

for the "InvalidJarIndexException" please re-download the jasper plugin
Gabi Boros
Servoy
Gabi Boros
 
Posts: 352
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: Servoy 2020.03

Postby Joas » Wed Apr 08, 2020 1:16 pm

With the new jasper plugin the errors are gone. Thanks!
Joas de Haan
Yield Software Development: Need help on your project?
yieldsd.com
User avatar
Joas
Site Admin
 
Posts: 817
Joined: Mon Mar 20, 2006 4:07 pm
Location: Amersfoort, NL

Re: Servoy 2020.03

Postby steve1376656734 » Wed Apr 08, 2020 1:17 pm

This seems to have fixed the issue.

Thanks
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 233
Joined: Fri Aug 16, 2013 2:38 pm
Location: Lanzarote

Re: Servoy 2020.03

Postby rafig » Fri Apr 10, 2020 2:39 pm

Hi,
I just updated to 2020.03 for a client's solution that is running on 2019.3.1 and there seem to be a few problems for me with FontAwesome stuff.
1) I had a problem that for all the places where I had placed the 'servoyextra-fontawesome' component and set the 'facials' I was just using
Code: Select all
fa-envelope fa-2x

to set the class, but this wasn't working correctly after update, but luckily I realised that I just needed to change it to
Code: Select all
fa fa-envelope fa-2x

(i.e. making sure to have
fa<space>
at start of each one (took a while to go thru all forms...)
2) BUT, the main problem I now has is that I am using a lot of 'servoyextra-table' components and using the 'styleClassDataprovider' that uses a calculation that returns a CSS style and these aren't working now. I have set various CSS styles in this form
Code: Select all
.editicon:before {
    content: "\f044";
    color: orange;
    font-family: "FontAwesome";
    font-size: 20px;
    float: left;
    margin-right: 10px;
}

and then have the calc return 'editicon', but it's not displaying the FA icon correctly now.
Please can someone tell me how this should work now??
Thanks
Rafi
Servoy Certified Developer
Image
rafig
 
Posts: 554
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Re: Servoy 2020.03

Postby rvanveen » Fri Apr 10, 2020 3:07 pm

Hi Rafi,

The font-family is a little changed in Font Awesome.
The font awesome service provides the Font awesome 5 lib.
So your css should be:
Code: Select all
.editicon:before {
    content: "\f044";
    color: orange;
    font-family: "Font Awesome 5 Free";
    font-size: 20px;
    float: left;
    margin-right: 10px;
}
User avatar
rvanveen
 
Posts: 10
Joined: Fri Jul 01, 2016 10:51 am

Re: Servoy 2020.03

Postby rafig » Fri Apr 10, 2020 4:57 pm

rvanveen wrote:Hi Rafi,
The font-family is a little changed in Font Awesome.
The font awesome service provides the Font awesome 5 lib.


Awesome!

Thanks, that solved it!
And great to now be able to use v5 stuff from FA ;-)
Rafi
Servoy Certified Developer
Image
rafig
 
Posts: 554
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Re: Servoy 2020.03

Postby steve1376656734 » Fri Apr 10, 2020 5:06 pm

Quick question related to FA.

What is the Servoy recommended way to substitute FA pro for the supplied FA free. I have tried numerous ways but every one keeps getting reverted back whenever there is an update to any of the Web Packages that require the FontAwesome component. We have a license for FA Pro and would very much like to use it without the hassle of having to recreate things every time.

Thanks
Steve
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 233
Joined: Fri Aug 16, 2013 2:38 pm
Location: Lanzarote

Re: Servoy 2020.03

Postby Joas » Tue Apr 14, 2020 4:55 pm

The function utils.bytesToBase64() seems to be removed.

We use the svyUtils-module and the function scopes.svyCrypto.getHash() uses utils.bytesToBase64(), so this doesn't work anymore.
Is there an alternative for this function? Or will there be an update for svyUtils soon?
Joas de Haan
Yield Software Development: Need help on your project?
yieldsd.com
User avatar
Joas
Site Admin
 
Posts: 817
Joined: Mon Mar 20, 2006 4:07 pm
Location: Amersfoort, NL

Re: Servoy 2020.03

Postby jcompagner » Tue Apr 14, 2020 5:19 pm

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?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8284
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2020.03

Postby patrick » Tue Apr 14, 2020 5:21 pm

Looking at 2020.03 and still see utils.bytesToBase64(). You don't see that method anymore? Does it work when you call it?
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3682
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: Servoy 2020.03

Postby patrick » Tue Apr 14, 2020 5:22 pm

Johan is always faster.
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3682
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: Servoy 2020.03

Postby briese-it » Wed Apr 15, 2020 10:22 am

I updated to 2020.03 and now I can't start the Smart Client on some machines (Windows 10 and Windows2016 RDS).
Errors in the Java log:

CacheEntry[https://172.20.1.55:8443/servoy-client/BOSS.jnlp]: updateAvailable=true,lastModified=Wed Apr 15 10:04:19 CEST 2020,length=-1
storing the cache in C:\Users\Administrator\.servoy\libCache\172_20_1_558443 (null)
The jnlp files resources are not the same, downloading it
CacheEntry[https://172.20.1.55:8443/lib/j2db.jar]: updateAvailable=false,lastModified=Wed Apr 08 23:32:52 CEST 2020,length=1304605
CacheEntry[https://172.20.1.55:8443/lib/jabsorb.jar]: updateAvailable=false,lastModified=Wed Apr 08 23:32:54 CEST 2020,length=57215
CacheEntry[https://172.20.1.55:8443/lib/js.jar]: updateAvailable=false,lastModified=Wed Apr 08 23:32:56 CEST 2020,length=494714
CacheEntry[https://172.20.1.55:8443/lib/BrowserLauncher2.jar]: updateAvailable=false,lastModified=Wed Apr 08 23:32:54 CEST 2020,length=17998
CacheEntry[https://172.20.1.55:8443/lib/slf4j-jdk14.jar]: updateAvailable=false,lastModified=Wed Apr 08 23:32:57 CEST 2020,length=7345
CacheEntry[https://172.20.1.55:8443/lib/MRJAdapter.jar]: updateAvailable=false,lastModified=Wed Apr 08 23:32:57 CEST 2020,length=23583
CacheEntry[https://172.20.1.55:8443/lib/slf4j-api.jar]: updateAvailable=false,lastModified=Wed Apr 08 23:32:57 CEST 2020,length=20107
CacheEntry[https://172.20.1.55:8443/lib/l2fprod-common-outlookbar.jar]: updateAvailable=false,lastModified=Wed Apr 08 21:32:58 UTC 2020,length=37556
CacheEntry[https://172.20.1.55:8443/lib/fs-parser.jar]: updateAvailable=false,lastModified=Wed Apr 08 21:32:58 UTC 2020,length=81504
java.util.zip.ZipException: no current ZIP entry
at java.util.zip.ZipOutputStream.write(Unknown Source)
at java.util.zip.DeflaterOutputStream.write(Unknown Source)
at java.util.zip.ZipOutputStream.writeInt(Unknown Source)
at java.util.zip.ZipOutputStream.writeLOC(Unknown Source)
at java.util.zip.ZipOutputStream.putNextEntry(Unknown Source)
at java.util.jar.JarOutputStream.putNextEntry(Unknown Source)
at com.sun.java.util.jar.pack.NativeUnpack.writeEntry(Unknown Source)
at com.sun.java.util.jar.pack.NativeUnpack.run(Unknown Source)
at com.sun.java.util.jar.pack.NativeUnpack.run(Unknown Source)
at com.sun.java.util.jar.pack.UnpackerImpl.unpack(Unknown Source)
at com.servoy.bootstrapper.Pack200Wrapper.unpack(Pack200Wrapper.java:93)
at com.servoy.bootstrapper.JarDownloader.run(JarDownloader.java:55)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Suppressed: java.util.zip.ZipException: no current ZIP entry
at java.util.zip.ZipOutputStream.write(Unknown Source)
at java.util.zip.DeflaterOutputStream.deflate(Unknown Source)
at java.util.zip.ZipOutputStream.closeEntry(Unknown Source)
at java.util.zip.ZipOutputStream.finish(Unknown Source)
at java.util.zip.DeflaterOutputStream.close(Unknown Source)
at java.util.zip.ZipOutputStream.close(Unknown Source)
at com.servoy.bootstrapper.Pack200Wrapper.unpack(Pack200Wrapper.java:95)
... 4 more
trying to download again: https://172.20.1.55:8443/lib/commons-codec.jar
CacheEntry[https://172.20.1.55:8443/lib/PBKDF2.jar]: updateAvailable=false,lastModified=Wed Apr 08 23:32:58 CEST 2020,length=6048
java.util.zip.ZipException: no current ZIP entry
at java.util.zip.ZipOutputStream.write(Unknown Source)
at java.util.zip.DeflaterOutputStream.write(Unknown Source)
at java.util.zip.ZipOutputStream.writeInt(Unknown Source)
at java.util.zip.ZipOutputStream.writeLOC(Unknown Source)
at java.util.zip.ZipOutputStream.putNextEntry(Unknown Source)
at java.util.jar.JarOutputStream.putNextEntry(Unknown Source)
at com.sun.java.util.jar.pack.NativeUnpack.writeEntry(Unknown Source)
at com.sun.java.util.jar.pack.NativeUnpack.run(Unknown Source)
at com.sun.java.util.jar.pack.NativeUnpack.run(Unknown Source)
at com.sun.java.util.jar.pack.UnpackerImpl.unpack(Unknown Source)
at com.servoy.bootstrapper.Pack200Wrapper.unpack(Pack200Wrapper.java:93)
at com.servoy.bootstrapper.JarDownloader.run(JarDownloader.java:55)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Suppressed: java.util.zip.ZipException: no current ZIP entry
at java.util.zip.ZipOutputStream.write(Unknown Source)
at java.util.zip.DeflaterOutputStream.deflate(Unknown Source)
at java.util.zip.ZipOutputStream.closeEntry(Unknown Source)
at java.util.zip.ZipOutputStream.finish(Unknown Source)
at java.util.zip.DeflaterOutputStream.close(Unknown Source)
at java.util.zip.ZipOutputStream.close(Unknown Source)
at com.servoy.bootstrapper.Pack200Wrapper.unpack(Pack200Wrapper.java:95)
... 4 more
trying to download again: https://172.20.1.55:8443/lib/fs-commons.jar
CacheEntry[https://172.20.1.55:8443/lib/prompt.jar]: updateAvailable=false,lastModified=Wed Apr 08 23:33:00 CEST 2020,length=7435
CacheEntry[https://172.20.1.55:8443/lib/xstream.jar]: updateAvailable=false,lastModified=Wed Apr 08 23:32:59 CEST 2020,length=129755
java.util.zip.ZipException: no current ZIP entry


About 70 users can work normal.
Any ideas?
Michael Harms
Briese Schiffahrts GmbH & Co.KG, Germany
- Servoy 8.3.3 Running on Windows 2008R2 DataCenter - MSSQL2017
User avatar
briese-it
 
Posts: 139
Joined: Mon Jun 20, 2011 1:50 pm
Location: Leer, Germany

Re: Servoy 2020.03

Postby briese-it » Wed Apr 15, 2020 10:28 am

Now I deactivated the Option "servoy.smartclient.usepack200" and it's running fine. Looks like a problem with that option that we used since years.
Last edited by briese-it on Wed Apr 15, 2020 11:15 am, edited 1 time in total.
Michael Harms
Briese Schiffahrts GmbH & Co.KG, Germany
- Servoy 8.3.3 Running on Windows 2008R2 DataCenter - MSSQL2017
User avatar
briese-it
 
Posts: 139
Joined: Mon Jun 20, 2011 1:50 pm
Location: Leer, Germany

PreviousNext

Return to Announcements

Who is online

Users browsing this forum: No registered users and 10 guests