Servoy 7.4 rc 2

Release notes for Servoy betas

Re: Servoy 7.4 rc

Postby ptalbot » Mon Feb 24, 2014 9:35 pm

Yeah, thanks. I didn't noticed when I logged in, I clicked on 'create Issue' button and didn't check which project it was created on.
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
http://www.servoy-stuff.net
https://www.servoyforge.net
--------------------------------------------
Servoy 5.2.16 / 6.0.9 / 6.1.6 / 7.3.1
All OSes / Java 5 & 6 & 7
User avatar
ptalbot
 
Posts: 1612
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Re: Servoy 7.4 rc

Postby robrecht » Thu Mar 06, 2014 11:46 am

Hi,

We just update our dev server to 7.4rc
Webclient works fine, developer too but the smartclient doesn't
We are able to login but after the login the java console on client shows a lot of errors/warnings like :

Code: Select all
Mar 06, 2014 10:36:11 AM com.servoy.j2db.util.Debug error
SEVERE: Cannot sort elements, transitivity is not respected for forms:svy_nav_fr_p_browser_base and svy_nav_lfo_browser
Mar 06, 2014 10:36:11 AM com.servoy.j2db.util.Debug error
SEVERE: Cannot sort elements, transitivity is not respected for forms:svy_nav_fr_p_browser_base and svy_nav_lfo_browser
Mar 06, 2014 10:36:11 AM com.servoy.j2db.util.Debug error
SEVERE: Cannot sort elements, transitivity is not respected for forms:svy_nav_fr_p_browser_base and svy_nav_lfo_browser
Mar 06, 2014 10:36:11 AM com.servoy.j2db.util.Debug error
SEVERE: Cannot sort elements, transitivity is not respected for forms:svy_nav_fr_p_browser_base and svy_nav_lfo_browser


What does these errors mean? Can they cause the smartclient crashing?

Thanks
robrecht
 
Posts: 77
Joined: Wed Aug 01, 2012 4:30 pm

Re: Servoy 7.4 rc

Postby robrecht » Thu Mar 06, 2014 4:25 pm

The problem seems to be that the onShow method is not triggered by
Code: Select all
         forms['svy_nav_fr_p_main'].controller.show();
         plugins.Log.error('FORM SHOWN')


The form is shown but the onShow or onLoad method aren't triggered.
The form I show is in the parent solution of the module where the code above is called, can that be a problem?

Exactly the same code works fine on 7.3.1.....
robrecht
 
Posts: 77
Joined: Wed Aug 01, 2012 4:30 pm

Re: Servoy 7.4 rc

Postby robrecht » Thu Mar 06, 2014 6:03 pm

After further investigation we discovered the problem is probably caused by form inheritance on minimum 3 levels.

In our case :
Form 1 extends Form 2
Form 2 extends Form 3

- When we remove the extension from Form 2 to Form 3, the console warnings about 'Transitivity' are gone
- The controller.show() on Form 1 works well after removing this parent

! This is only in smart client, webclient and developer are ok !

There must be something changed in 7.4 in the inheritance model, but I can't find some documentation or release notes about it?

Anyone with a suggestion please ??
robrecht
 
Posts: 77
Joined: Wed Aug 01, 2012 4:30 pm

Re: Servoy 7.4 rc

Postby mattfrizzell » Thu Mar 06, 2014 8:02 pm

Have you logged a bug for this? All of our forms that use form inheritance are broken as well and we only extend a single layer deep. I will log our issue but if you too have logged a bug please post the issue ID here so I can cross reference it. Thanks!
Matt Frizzell
adBlocks
www.adblocks.com
mattfrizzell
 
Posts: 51
Joined: Mon Aug 21, 2006 4:00 pm

Re: Servoy 7.4 rc

Postby mattfrizzell » Thu Mar 06, 2014 8:48 pm

I logged a bug since we've been banging our heads against a wall for a couple of days. Feel free to up vote it or reference it in your own ticket. https://support.servoy.com/browse/SVY-6186
Matt Frizzell
adBlocks
www.adblocks.com
mattfrizzell
 
Posts: 51
Joined: Mon Aug 21, 2006 4:00 pm

Re: Servoy 7.4 rc

Postby robrecht » Fri Mar 07, 2014 10:08 am

Hi Matt,

Thanks for logging this! I was still investigating if it was a pure servoy issue or something in our code
I voted your case

Robrecht
robrecht
 
Posts: 77
Joined: Wed Aug 01, 2012 4:30 pm

Re: Servoy 7.4 rc 2

Postby jcompagner » Tue Mar 11, 2014 6:58 pm

this error:

Mar 06, 2014 10:36:11 AM com.servoy.j2db.util.Debug error
SEVERE: Cannot sort elements, transitivity is not respected for forms:svy_nav_fr_p_browser_base and svy_nav_lfo_browser

is very weird especially if you only get that in a smart client but not in the developer

(your really for the same solution you also should get that on a real webclient)

Because that message is printed if form1 extends form2 and form2 extends form1 again..

And if you don't get that in developer but you do get that in the app server then i think there is something wrong with the import

If you do a new export from your developer and you do a import on a clean,fresh install of the app server, do you still get it then?
(if you install a quick demo/tmp app server)

If you still get it, i would like to see the exported solution so that i can have a look right inside that and see if there really is an extends problem suddenly
Else it is somehow a import that merged wrongly (maybe at some point it had a different extends and that isn't updated quite correctly)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7974
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 7.4 rc 2

Postby robrecht » Thu Mar 13, 2014 12:02 pm

Hi Johan,

I installed 7.4 rc3 on my local machine, and the error is still there...
Smart client fails on these form and again, the webclient works fine

If you want to take a look at the solution please contact me

Robrecht
robrecht
 
Posts: 77
Joined: Wed Aug 01, 2012 4:30 pm

Re: Servoy 7.4 rc 2

Postby jcompagner » Thu Mar 13, 2014 12:09 pm

its very weird that the webclient on an server (not developer right?) doesn't give that same exception/warning
Because that code is exactly the same. There is no difference between solution code in smart or web.

But if you have a solution that demonstrates this, please make a case and attach the solution to it (you can make it private if you want)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7974
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 7.4 rc 2

Postby robrecht » Thu Mar 13, 2014 12:16 pm

Well, the warning is in the java console which is only there for the smart client
The application server itself doesn't give any warnings
Maybe it's caused by other code executed in smart than in web (coded by us..?)

I can show it in the start up of our main solution, but I know from other cases it's hard for you guys to get it started
Can you talk to Joas about it? He has our solution from 2 months ago and i assume the problem will already be there..
robrecht
 
Posts: 77
Joined: Wed Aug 01, 2012 4:30 pm

Re: Servoy 7.4 rc 2

Postby robrecht » Fri Mar 14, 2014 1:41 pm

Together with Laurian we found that the bug is caused by 'Enhanced Security' set false.
Hopefully this will fix your problem as well Matthew, thanks for the support.

Robrecht
robrecht
 
Posts: 77
Joined: Wed Aug 01, 2012 4:30 pm

Previous

Return to Latest Releases

Who is online

Users browsing this forum: No registered users and 1 guest