Servoy 5.0 rc5

Release notes for Servoy betas

Servoy 5.0 rc5

Postby Jan Blok » Thu Nov 05, 2009 2:39 pm

We are pleased to announce the immediate availability of Servoy 5.0 rc5

Usage at own risk. Install in separate directory from your production versions.

This version is available through the download page on the Servoy website (developer section).
For updating Servoy eclipse developer, use menu item: Help -> Check for updates
Note: since the Eclipse.org and SQLExplorer both have problems with the update-site you have to disable those update-sites in: Window -> Preferences (update sites)

For updating a Servoy application server install, use:
java -jar servoy_updater.jar -beta (in the install directory)

Client changes:
[fix] 251929 setTabEnabledAt() changes readOnly on checkboxes
[fix] 253593 Portal on relation with global does not update when global is modified via scripting
[fix] 251682 On TABLE_VIEW forms, if a label is associated with a field (using labelFor) there is no way to make that column heading to be rendered the same was a default grid heading
[fix] 251663 Error setting form foundset, Cannot modify component hierarchy after render phase has started (page version cant change then anymore)

Developer changes:
[fix] 252556 Property editor for beans do not support Integer values
[fix] 251701 Auto-complete nullPointer
[fix] 251460 Servoy's i18n editor search is case sensitive
[fix] 252205 TypeAhead fields with a valuelist based on stored calculations give a build warning, while this can be supported
[fix] 252212 nullPointer after saving changes in a stylesheet
[fix] 252734 Code changes don't take effect while debugging
[fix] 252213,252462 Issue in Solution Explorer when deleting a form
[fix] 252395 Changing/Saving files in Servoy causes Smart Client refresh error
[fix] 252578 Calculations are dropped during import via developer
[fix] 252316 application.getstartupArguments contains 2 entries for a debug client started

Plugin Changes:
[fix] 252393 Popup context menu not appearing on fields in tablview in webclient
[fix] 253283 Popup menu error: component must be showing on the screen to determine its location"
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Re: Servoy 5.0 rc5

Postby Thomas Parry » Fri Nov 06, 2009 5:32 am

I am sorry to report that
252578 Calculations are dropped during import via developer

is not fixed for my import test.
In fact it seems to have gotten worse:
Out of 56 tables now 9 have their calculations missing entirely (in rc4 it was 4).

This requires a review of the procedures to "test" this issue.
Is my 3.5.10 app causing such an error?
Tom Parry
Prospect IT
Java/C++/Servoy/Jasper Reports/Simulation/Service Applications
http://www.prospect-saas.biz
Thomas Parry
 
Posts: 498
Joined: Thu Jan 10, 2008 8:48 pm
Location: Ottawa, Canada

Re: Servoy 5.0 rc5

Postby ROCLASI » Fri Nov 06, 2009 8:27 am

Thomas Parry wrote:Is my 3.5.10 app causing such an error?

Hmm...not sure if it's related but I have one solution that consistently looses the same calculation when I push that to a server. Both are 3.5.10 installs and I checked the .servoy file to make sure the offending calc is indeed there (it is).

I will make a case for it and attach the solution.
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5201
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Servoy 5.0 rc5

Postby Gabi Boros » Fri Nov 06, 2009 10:18 am

Thomas Parry wrote:I am sorry to report that
252578 Calculations are dropped during import via developer

is not fixed for my import test.
In fact it seems to have gotten worse:
Out of 56 tables now 9 have their calculations missing entirely (in rc4 it was 4).

This requires a review of the procedures to "test" this issue.
Is my 3.5.10 app causing such an error?


Hi Thomas,

do you have the same problem if you import on the admin page ? or only when importing from developer ?
Gabi Boros
Servoy
Gabi Boros
 
Posts: 317
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: Servoy 5.0 rc5

Postby Thomas Parry » Fri Nov 06, 2009 3:22 pm

Before I could import via the Admin pages I had to set the start repository as Team Provider to false.
The import via admin pages had no errors.

Going back the developer I then examined each table calculations and all the missing calcs were now there.
So yes this is limited to the developer import skipping an index or encountering an exception and failing to report it...

I now have to go back and re-enable the start repository as Team Provider.
Tom Parry
Prospect IT
Java/C++/Servoy/Jasper Reports/Simulation/Service Applications
http://www.prospect-saas.biz
Thomas Parry
 
Posts: 498
Joined: Thu Jan 10, 2008 8:48 pm
Location: Ottawa, Canada

Re: Servoy 5.0 rc5

Postby Thomas Parry » Sat Nov 07, 2009 4:32 am

After some experimenting it appears that the calcs that are missing are actually just hiding!
By exiting the developer immediately after importing the solution and then restarting the developer all the calcs come back into visibility.

So I assume the FIX is to the procedure for importing: documentation to be added to advise user to restart!
Tom Parry
Prospect IT
Java/C++/Servoy/Jasper Reports/Simulation/Service Applications
http://www.prospect-saas.biz
Thomas Parry
 
Posts: 498
Joined: Thu Jan 10, 2008 8:48 pm
Location: Ottawa, Canada

Re: Servoy 5.0 rc5

Postby erdione » Wed Nov 11, 2009 11:33 am

i try to use anchoring in the webclient.
I put a title label on a form header using right and left anchoring, this label will have the full width of the form .

When i code elements['mytitlelabel'].getWidth()
The returned value is the width i have in designer mode but not the anchored resized width, is it a normal behaviour?

Thanks
Fabrice
erdione
 
Posts: 109
Joined: Thu Feb 01, 2007 1:19 pm

Re: Servoy 5.0 rc5

Postby Kaptan » Wed Nov 11, 2009 6:51 pm

Is it correct that a couple of things in the word completion is missing in Servoy 5? For instance 'SM_DISPLAYTYPE', controller.getServerName(), controller.getTableName().
Sem Tukenmez
Kaptan
 
Posts: 124
Joined: Mon Aug 04, 2008 11:17 pm
Location: Amsterdam

Re: Servoy 5.0 rc5

Postby ROCLASI » Wed Nov 11, 2009 7:10 pm

Hi,

controller.getServerName() and controller.getTableName() are deprecated (but still work) in Servoy 5 so they don't show up. You can get these values via the controller.getDataSource() and pass that object in databaseManager.getDataSourceServerName() or databaseManager.getDataSourceTableName() function.
And the SM_DISPLAYTYPE properties are now part of the jsform object.
So it's correct that you don't see them.
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5201
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Servoy 5.0 rc5

Postby Kaptan » Wed Nov 11, 2009 7:17 pm

Ok! I've also noticed that there is 'ELEMENT_TYPES' instead. I was wondering about this because I use it when creating a form through the solutionModel.
Sem Tukenmez
Kaptan
 
Posts: 124
Joined: Mon Aug 04, 2008 11:17 pm
Location: Amsterdam

Re: Servoy 5.0 rc5

Postby jcompagner » Mon Nov 16, 2009 12:44 am

Kaptan wrote:Ok! I've also noticed that there is 'ELEMENT_TYPES' instead. I was wondering about this because I use it when creating a form through the solutionModel.



element types is a constant for the ui elements
It shouldnt be used for solution model those constants begin with SM_xxx or are constant within the objects that used them like JSForm
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7969
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Latest Releases

Who is online

Users browsing this forum: No registered users and 1 guest