Servoy 2022.06

Servoy announcements

Servoy 2022.06

Postby jcompagner » Fri Jul 01, 2022 2:34 pm

We are pleased to announce the availability of Servoy 2022.06 (release number 3782)

This version is available through the the download site

An installation (coming from the normal installer or from a platform specific archive) is shipping with with a Java VM (Java 17.0.3)

So for the platform specific archives you don't need to install or have java on your system.

This release can be updated by using the "latest" url: http://download.servoy.com/developer/latest/ (when you come from 2019.03 or higher)
This release is build on Eclipse 2022.03 (4.23)

See whats new for the global changes

See the issues list for a complete overview of all the cases.

Make sure to update Servoy-Extra-Components also to its 2022.6.x release when updating to Servoy 2022.06 else there will be a conflict of dependencies (for Titanium NGClient)

This is a release in our quarterly release cycle
if you want to stay on the LTS path you need to stick to 2021.03.1 LTS and enabled only the lts update site.


Other releases also done:
Servoy Extra 2022.6.1
Bootstrap Components 2022.6.0
Bootstrap Extra Components 2022.6.0
NGGrid 2022.6.0
NGDesktop File 2022.6.0
NGDesktop UI 2022.6.0
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2022.06

Postby rafig » Fri Jul 01, 2022 6:24 pm

Congratulations!

(Have a good weekend all...)
Servoy Certified Developer
Image
rafig
 
Posts: 704
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Re: Servoy 2022.06

Postby ROCLASI » Fri Jul 01, 2022 6:50 pm

Warning: For plugins we now will warn you when loading them and they don't follow the entry point setup: https://wiki.servoy.com/display/DOCS/Cr ... ntryPoints
this will be mandatory from 2022.09 on, in 2022.06 this is a warning.
All plugins that are shipped by servoy are adjusted, if you have 3rd party plugins then these are needed to be updated.


Looks like there is some work to be done for us (Java) plugin coders...
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Servoy 2022.06

Postby ptalbot » Fri Jul 01, 2022 7:06 pm

What about IScriptObject vs IScriptable?

I have tons of plugins that have been coded with IScriptObject implementation before IScriptable was even a thing, and in many cases are still used in older versions of Servoy (but could potentially be used in newer version) and changing the implementation to use IScriptable and @ServoyDocumented and @JSXXX annotations + generating the extension.xml is going to be a major endeavor...

Will IScriptObject still be compatible with Servoy 2022.6+ going forward?
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
https://www.servoyforge.net
Velocity rules! If you don't use it, you don't know what you're missing!
User avatar
ptalbot
 
Posts: 1654
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Re: Servoy 2022.06

Postby Juan Etec » Sat Jul 02, 2022 7:31 pm

Hi,
testing this version I saw the warning that the "Whats new" told, I have saw some plugins like servoy_jasperreports.jar and another like mailpro.jar, usermanager.jar or velocityreport.jar and some on my own plugins.
I am not good in java, but I have down my own plugins following the wiki and looking at the documentation.
This new feature that we have to do is difficult to me to understand.
https://wiki.servoy.com/display/DOCS/Creating+Client+Plugins#CreatingClientPlugins-EntryPoints

Could anyone increase this documentation a little bit?

Thanks in advance
Last edited by Juan Etec on Sun Jul 03, 2022 10:47 am, edited 1 time in total.
Un Saludo

Juan Ramírez
Juan Etec
 
Posts: 64
Joined: Mon Apr 20, 2009 8:23 pm
Location: Gran Canaria - Spain

Re: Servoy 2022.06

Postby Juan Etec » Sat Jul 02, 2022 8:10 pm

Hi,
in developer my solution work fine but in a war environment (tomcat version 9.0.41) didn't show the login form.
It doesn't shows logs at the servoy server but on the browser developer tool shows that:

Code: Select all
servoy_contributions_svygrp181bfc493e5.js:40726 Deprecation warning: use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info.
X @ servoy_contributions_svygrp181bfc493e5.js:40726
servoy_thirdparty_svygrp181bfc493e5.js:2 Uncaught Error: [$injector:modulerr] https://errors.angularjs.xlts.dev/1.9.0/$injector/modulerr?p0=servoyApp&p1=Error%3A%20%5B%24injector%3Amodulerr%5D%20https%3A%2F%2Ferrors.angularjs.xlts.dev%2F1.9.0%2F%24injector%2Fmodulerr%3Fp0%3Dservoy-components%26p1%3DError%253A%2520%255B%2524injector%253Amodulerr%255D%2520https%253A%252F%252Ferrors.angularjs.xlts.dev%252F1.9.0%252F%2524injector%252Fmodulerr%253Fp0%253DbootstrapcomponentsFloatlabelcalendar%2526p1%253DError%25253A%252520%25255B%252524injector%25253Anomod%25255D%252520https%25253A%25252F%25252Ferrors.angularjs.xlts.dev%25252F1.9.0%25252F%252524injector%25252Fnomod%25253Fp0%25253DbootstrapcomponentsFloatlabelcalendar%25250A%252520%252520%252520%252520at%252520http%25253A%25252F%25252Flocalhost%25253A8083%25252FservoyServer%25252Fwro%25252Fservoy_thirdparty_svygrp181bfc493e5.js%25253A7%25253A187%25250A%252520%252520%252520%252520at%252520http%25253A%25252F%25252Flocalhost%25253A8083%25252FservoyServer%25252Fwro%25252Fservoy_thirdparty_svygrp181bfc493e5.js%25253A27%25253A280%25250A%252520%252520%252520%252520at%252520b%252520(http%25253A%25252F%25252Flocalhost%25253A8083%25252FservoyServer%25252Fwro%25252Fservoy_thirdparty_svygrp181bfc493e5.js%25253A26%25253A306)%25250A%252520%252520%252520%252520at%252520http%25253A%25252F%25252Flocalhost%25253A8083%25252FservoyServer%25252Fwro%25252Fservoy_thirdparty_svygrp181bfc493e5.js%25253A27%25253A54%25250A%252520%252520%252520%252520at%252520http%25253A%25252F%25252Flocalhost%25253A8083%25252FservoyServer%25252Fwro%25252Fservoy_thirdparty_svygrp181bfc493e5.js%25253A43%25253A496%25250A%252520%252520%252520%252520at%252520r%252520(http%25253A%25252F%25252Flocalhost%25253A8083%25252FservoyServer%25252Fwro%25252Fservoy_thirdparty_svygrp181bfc493e5.js%25253A8%25253A95)%25250A%252520%252520%252520%252520at%252520g%252520(http%25253A%25252F%25252Flocalhost%25253A8083%25252FservoyServer%25252Fwro%25252Fservoy_thirdparty_svygrp181bfc493e5.js%25253A43%25253A344)%25250A%252520%252520%252520%252520at%252520http%25253A%25252F%25252Flocalhost%25253A8083%25252FservoyServer%25252Fwro%25252Fservoy_thirdparty_svygrp181bfc493e5.js%25253A44%25253A27%25250A%252520%252520%252520%252520at%252520r%252520(http%25253A%25252F%25252Flocalhost%25253A8083%25252FservoyServer%25252Fwro%25252Fservoy_thirdparty_svygrp181bfc493e5.js%25253A8%25253A95)%25250A%252520%252520%252520%252520at%252520g%252520(http%25253A%25252F%25252Flocalhost%25253A8083%25252FservoyServer%25252Fwro%25252Fservoy_thirdparty_svygrp181bfc493e5.js%25253A43%25253A344)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A8083%252FservoyServer%252Fwro%252Fservoy_thirdparty_svygrp181bfc493e5.js%253A7%253A187%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A8083%252FservoyServer%252Fwro%252Fservoy_thirdparty_svygrp181bfc493e5.js%253A44%253A285%250A%2520%2520%2520%2520at%2520r%2520(http%253A%252F%252Flocalhost%253A8083%252FservoyServer%252Fwro%252Fservoy_thirdparty_svygrp181bfc493e5.js%253A8%253A95)%250A%2520%2520%2520%2520at%2520g%2520(http%253A%252F%252Flocalhost%253A8083%252FservoyServer%252Fwro%252Fservoy_thirdparty_svygrp181bfc493e5.js%253A43%253A344)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A8083%252FservoyServer%252Fwro%252Fservoy_thirdparty_svygrp181bfc493e5.js%253A44%253A27%250A%2520%2520%2520%2520at%2520r%2520(http%253A%252F%252Flocalhost%253A8083%252FservoyServer%252Fwro%252Fservoy_thirdparty_svygrp181bfc493e5.js%253A8%253A95)%250A%2520%2520%2520%2520at%2520g%2520(http%253A%252F%252Flocalhost%253A8083%252FservoyServer%252Fwro%252Fservoy_thirdparty_svygrp181bfc493e5.js%253A43%253A344)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A8083%252FservoyServer%252Fwro%252Fservoy_thirdparty_svygrp181bfc493e5.js%253A44%253A27%250A%2520%2520%2520%2520at%2520r%2520(http%253A%252F%252Flocalhost%253A8083%252FservoyServer%252Fwro%252Fservoy_thirdparty_svygrp181bfc493e5.js%253A8%253A95)%250A%2520%2520%2520%2520at%2520g%2520(http%253A%252F%252Flocalhost%253A8083%252FservoyServer%252Fwro%252Fservoy_thirdparty_svygrp181bfc493e5.js%253A43%253A344)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A8083%2FservoyServer%2Fwro%2Fservoy_thirdparty_svygrp181bfc493e5.js%3A7%3A187%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A8083%2FservoyServer%2Fwro%2Fservoy_thirdparty_svygrp181bfc493e5.js%3A44%3A285%0A%20%20%20%20at%20r%20(http%3A%2F%2Flocalhost%3A8083%2FservoyServer%2Fwro%2Fservoy_thirdparty_svygrp181bfc493e5.js%3A8%3A95)%0A%20%20%20%20at%20g%20(http%3A%2F%2Flocalhost%3A8083%2FservoyServer%2Fwro%2Fservoy_thirdparty_svygrp181bfc493e5.js%3A43%3A344)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A8083%2FservoyServer%2Fwro%2Fservoy_thirdparty_svygrp181bfc493e5.js%3A44%3A27%0A%20%20%20%20at%20r%20(http%3A%2F%2Flocalhost%3A8083%2FservoyServer%2Fwro%2Fservoy_thirdparty_svygrp181bfc493e5.js%3A8%3A95)%0A%20%20%20%20at%20g%20(http%3A%2F%2Flocalhost%3A8083%2FservoyServer%2Fwro%2Fservoy_thirdparty_svygrp181bfc493e5.js%3A43%3A344)%0A%20%20%20%20at%20fb%20(http%3A%2F%2Flocalhost%3A8083%2FservoyServer%2Fwro%2Fservoy_thirdparty_svygrp181bfc493e5.js%3A47%3A460)%0A%20%20%20%20at%20c%20(http%3A%2F%2Flocalhost%3A8083%2FservoyServer%2Fwro%2Fservoy_thirdparty_svygrp181bfc493e5.js%3A22%3A57)%0A%20%20%20%20at%20Wc%20(http%3A%2F%2Flocalhost%3A8083%2FservoyServer%2Fwro%2Fservoy_thirdparty_svygrp181bfc493e5.js%3A22%3A370)
    at servoy_thirdparty_svygrp181bfc493e5.js:7:187
    at servoy_thirdparty_svygrp181bfc493e5.js:44:285
    at r (servoy_thirdparty_svygrp181bfc493e5.js:8:95)
    at g (servoy_thirdparty_svygrp181bfc493e5.js:43:344)
    at fb (servoy_thirdparty_svygrp181bfc493e5.js:47:460)
    at c (servoy_thirdparty_svygrp181bfc493e5.js:22:57)
    at Wc (servoy_thirdparty_svygrp181bfc493e5.js:22:370)
    at Fe (servoy_thirdparty_svygrp181bfc493e5.js:21:45)
    at HTMLDocument.<anonymous> (servoy_thirdparty_svygrp181bfc493e5.js:352:36)
    at e (servoy_thirdparty_svygrp181bfc493e5.js:2:30038)
DevTools failed to load source map: Could not load content for http://localhost:8083/servoyServer/wro/angular-sanitize.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://localhost:8083/servoyServer/wro/toastr.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://localhost:8083/servoyServer/wro/select.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE


the servoy was installed in a clean install.
Un Saludo

Juan Ramírez
Juan Etec
 
Posts: 64
Joined: Mon Apr 20, 2009 8:23 pm
Location: Gran Canaria - Spain

Re: Servoy 2022.06

Postby jcompagner » Mon Jul 04, 2022 10:54 am

Juan Etec wrote:Hi,
in developer my solution work fine but in a war environment (tomcat version 9.0.41) didn't show the login form.
It doesn't shows logs at the servoy server but on the browser developer tool shows that:


can you make sure if you make the war that you don't export those new bootstrap components that has "floating" in the name like Floatlabelcalendar

those are Titanium NGClient only components and should be fully ignored in NG1, but it seems we do pick this up in your case when it is exported in a WAR.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2022.06

Postby jcompagner » Mon Jul 04, 2022 11:00 am

Juan Etec wrote:Hi,
testing this version I saw the warning that the "Whats new" told, I have saw some plugins like servoy_jasperreports.jar and another like mailpro.jar, usermanager.jar or velocityreport.jar and some on my own plugins.
I am not good in java, but I have down my own plugins following the wiki and looking at the documentation.
This new feature that we have to do is difficult to me to understand.
https://wiki.servoy.com/display/DOCS/Creating+Client+Plugins#CreatingClientPlugins-EntryPoints

Could anyone increase this documentation a little bit?

Thanks in advance


i don't see how i can improve that documentation more. It is for me very clear
you need to create this file:

META-INF/services/com.servoy.j2db.plugins.IPlugin

inside your jar and in that file should have 1 (or 2 lines if you also have a server side plugin besides the clientside plugin)
that has the full class name of the class that is your main class plugin (so that one that implements the interface IPlugin or IClientPlugin/IServerPlugin)

you can look into any plugin that servoy ships as an example like:

plugins\mail.jar\META-INF\services\com.servoy.j2db.plugins.IPlugin

which has 2 entries (this main plugin is a client and server plugin)

com.servoy.extensions.plugins.mail.MailServer
com.servoy.extensions.plugins.mail.client.MailPlugin

which are the 2 main entry points:
https://github.com/Servoy/servoy-extens ... r.java#L65
https://github.com/Servoy/servoy-extens ... n.java#L37
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2022.06

Postby jcompagner » Mon Jul 04, 2022 11:06 am

ptalbot wrote:What about IScriptObject vs IScriptable?


there is no change for this, this i purely getting the IPlugin instance (so IClientPlugin or IServerPlugin implementing class)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2022.06

Postby jcompagner » Mon Jul 04, 2022 11:44 am

jcompagner wrote:
Juan Etec wrote:Hi,
in developer my solution work fine but in a war environment (tomcat version 9.0.41) didn't show the login form.
It doesn't shows logs at the servoy server but on the browser developer tool shows that:


can you make sure if you make the war that you don't export those new bootstrap components that has "floating" in the name like Floatlabelcalendar

those are Titanium NGClient only components and should be fully ignored in NG1, but it seems we do pick this up in your case when it is exported in a WAR.


looking quickly at the code, this should be fine, what bootstrapcomponents package do you use here?

if you look inside the WAR\js\servoy-components.js

there you see "float" stuff defined? that should not happen..
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2022.06

Postby jcompagner » Mon Jul 04, 2022 12:34 pm

jcompagner wrote:
jcompagner wrote:
Juan Etec wrote:Hi,
in developer my solution work fine but in a war environment (tomcat version 9.0.41) didn't show the login form.
It doesn't shows logs at the servoy server but on the browser developer tool shows that:


can you make sure if you make the war that you don't export those new bootstrap components that has "floating" in the name like Floatlabelcalendar

those are Titanium NGClient only components and should be fully ignored in NG1, but it seems we do pick this up in your case when it is exported in a WAR.


looking quickly at the code, this should be fine, what bootstrapcomponents package do you use here?

if you look inside the WAR\js\servoy-components.js

there you see "float" stuff defined? that should not happen..


i found the bug, the code works a bit different when exporting a WAR, so in 2022.06 make sure you don't export the floatlabels if you don't need them (so if you just deploy for NG2)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2022.06

Postby jcompagner » Mon Jul 04, 2022 2:58 pm

i fixed it, also in the release branch so you can take that fix by using an update.zip: https://build.servoy.com/latest/servoy_ ... update.zip
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2022.06

Postby ptalbot » Tue Jul 05, 2022 8:24 pm

jcompagner wrote:
ptalbot wrote:What about IScriptObject vs IScriptable?

there is no change for this, this i purely getting the IPlugin instance (so IClientPlugin or IServerPlugin implementing class)


That's good news, thanks. I'll update my plugins with the META-INF/services declarations soon.
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
https://www.servoyforge.net
Velocity rules! If you don't use it, you don't know what you're missing!
User avatar
ptalbot
 
Posts: 1654
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Re: Servoy 2022.06

Postby steve1376656734 » Tue Jul 12, 2022 2:34 pm

After upgrading to 2022.06 and upgrading all the packages to the latest versions I am getting this error in my NG2 build console:

Error: projects/servoydefault/src/lib/htmlarea/htmlarea.html:7:5 - error TS2322: Type 'RawEditorOptions' is not assignable to type 'RawEditorSettings'.
Types of property 'contextmenu' are incompatible.
Type 'string | false | string[]' is not assignable to type 'string | false'.
Type 'string[]' is not assignable to type 'string | false'.

7 [init]="tinyConfig"
~~~~

projects/servoydefault/src/lib/htmlarea/htmlarea.ts:9:18
9 templateUrl: './htmlarea.html',
~~~~~~~~~~~~~~~~~
Error occurs in the template of component ServoyDefaultHtmlarea.

Any ideas?

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: 327
Joined: Fri Aug 16, 2013 2:38 pm
Location: Ashford, UK

Re: Servoy 2022.06

Postby steve1376656734 » Tue Jul 12, 2022 2:46 pm

Selecting "Copy the Titanium NG client sources" and then doing "Copy and clean build" seems to have resolved this issue.

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: 327
Joined: Fri Aug 16, 2013 2:38 pm
Location: Ashford, UK

Next

Return to Announcements

Who is online

Users browsing this forum: No registered users and 13 guests