Page 2 of 2
Re: Servoy 7.4 rc
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon Feb 24, 2014 9:35 pm
by ptalbot
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.
Re: Servoy 7.4 rc
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Mar 06, 2014 11:46 am
by robrecht
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
Re: Servoy 7.4 rc
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Mar 06, 2014 4:25 pm
by robrecht
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.....
Re: Servoy 7.4 rc
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Mar 06, 2014 6:03 pm
by robrecht
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 ??
Re: Servoy 7.4 rc
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Mar 06, 2014 8:02 pm
by mattfrizzell
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!
Re: Servoy 7.4 rc
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Mar 06, 2014 8:48 pm
by mattfrizzell
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
Re: Servoy 7.4 rc
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Fri Mar 07, 2014 10:08 am
by robrecht
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
Re: Servoy 7.4 rc 2
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Tue Mar 11, 2014 6:58 pm
by jcompagner
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)
Re: Servoy 7.4 rc 2
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Mar 13, 2014 12:02 pm
by robrecht
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
Re: Servoy 7.4 rc 2
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Mar 13, 2014 12:09 pm
by jcompagner
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)
Re: Servoy 7.4 rc 2
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Mar 13, 2014 12:16 pm
by robrecht
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..
Re: Servoy 7.4 rc 2
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Fri Mar 14, 2014 1:41 pm
by robrecht
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