Servoy 6.1.4

Servoy announcements

Servoy 6.1.4

Postby Jan Blok » Mon Mar 04, 2013 4:20 pm

We are pleased to announce the immediate availability of Servoy 6.1.4 release (releaseNumber 1429).

This version is available through the download option on the Servoy website and auto-update.
Always make a backup of your current Servoy installation (directory and database) before installing/upgrading.
To update a Servoy eclipse open Check for updates via help menu.

Thanks to the external testers for helping out to get a solid release!

Note:
Since we using a renewed code-signing certificate which comes with OCSP: (which is not optional)
http://en.wikipedia.org/wiki/Online_Cer ... s_Protocol
we needed to make Java6 our minimum supported version. (since this new protocol is not supported in older Java versions)


All the issues addressed:

Client Changes
[fix] SVY-3993 Users have to click on date calendars twice if the record they're clicking on isn't already selected.
[fix] SVY-3899 Error selected index - from a related tab ... from 0 to 1 related records
[fix] SVY-3775 many errors/warning in java console
[fix] SVY-3769 fallback valuelist limit of 500 is weird.
[fix] SVY-3766 Row selection highlight not cleared when an onRender() method is registered on a form in table view.
[fix] SVY-3761 Button onAction JSEvent without formName (formName = null)
[fix] SVY-3752 Performance: Full table refreshes triggered when resizing table views in a splitpane.
[fix] SVY-3663 Comboxes do not open on mouseclick with Oracle Java 7 on OSX 10.8
[fix] SVY-3606 Scrollable table views are not resizing to fill split pane when the split pane is programatically resized.
[fix] SVY-3594 When using "event.getRenderable().visible" in "onRender" event, the entire column disapears in Smart Client
[fix] SVY-3528 Issue with form's readonly state
[fix] SVY-3515 Form navigation fails if re-start web app in another tab
[fix] SVY-3503 Window title rolls back to form name first time the window is shown
[fix] SVY-3495 onshow event in scope does not fire when client is first loaded.
[fix] SVY-3386 Shortcut not triggered for Listbox element in Smart client
[fix] SVY-3383 Errors in log when using custom renderer attached to onRender event. Open solution scroll down a few records
[fix] SVY-3588 Typeahead on integer column must use comma formatting or it fails
[fix] SVY-3331 Default Page Format in 6.1.x
[fix] SVY-3489 When cannot sort on edited foundset, sort warning message incorrect
[fix] SVY-3140 controller.getTabSequence() isn't working on tableview
[fix] SVY-2943 A form larger than the tabpanel they are placed will result in a truncated form.
[fix] SVY-2383 broadcast client display problems
[fix] SVY-1942 The method databaseManager.rollbackTransaction(false) rolls back edited records even though the parameter to do so explicitly is set to false

Web Client Changes
[fix] SVY-3992 Wrapper div min-height/min-width issues
[fix] SVY-3908 Use of back-button in web-browser corrupts form/tab hierarchy
[fix] SVY-3898 in web client the date picker does not show the names of each month depending on the locale set
[fix] SVY-3829 Label rotation working differently in web client
[fix] SVY-3803 'Error calling server' error when using servoy login solution
[fix] SVY-3789 Webclient: Table view row selection events are randomly missed.
[fix] SVY-3798 Regression with dialogs from 6.1.2
[fix] SVY-3758 Error in log printing form in WC
[fix] SVY-3727 Web Client crashes with error org.apache.wicket.markup.MarkupException when the browser Back button/navigation is used on form with dynamically generated content.
[fix] SVY-3666 unwanted horizontal scrollbar
[fix] SVY-3665 Row CSS and onRender does not work correctly in webclient
[fix] SVY-3505 Paging ListView Forms in Web Client 6.1.3
[fix] SVY-3628 CSS row colouring stops working when onRender is set
[fix] SVY-3525 Webclient: Date fields are mis-aligned when displayed in a list view.
[fix] SVY-3501 Position of images loaded via blobloader in webclient
[fix] SVY-3494 Text in labels and buttons wraps in Web Client
[fix] SVY-3582 Scroll bar calculations are not calculating footer size properly and scrollbars do not display properly
[fix] SVY-3347 "Error calling server" when users double-click on a field that displays a modal dialog
[fix] SVY-3433 Error on change page on webclient
[fix] SVY-3414 After downloading a file from the server in Web Client using Google Chrome the UI is "blocked" and does not accept any user interaction
[fix] SVY-3392 Using data tags in the toolTipText property does not work in Web Client

Developer Changes
[fix] SVY-3396 JSDoc class colission
[fix] SVY-3393 Developer Shortcut has wrong property setting
[fix] SVY-3349 "Supported CSS style properties" page on Wiki is out of date.
[fix] SVY-3889 Auto complete in JSDoc is case sensitive for scopes and for custom types defined in scopes.
[fix] SVY-3841 Passing null as argument to functions which are defined to accept custom types results in a warning
[fix] SVY-3840 Erroneous warnings when the return value of a function is obtained by a call to another function
[fix] SVY-3818 Form has multiple parts of type: "Title Header"
[fix] SVY-3812 Freeze on quitting Servoy Developer if Smartclient still open (Mac)
[fix] SVY-3810 Duplicated UUID after refreshing the i18n files in developer
[fix] SVY-3806 sendToBack not working properly
[fix] SVY-3751 "The property message is undefined in ex" (ex is try/catch parameter)
[fix] SVY-3700 element z-index seems erratic when using form inheritance
[fix] SVY-3693 You can not assign any value to the "title" window created with application.createWindow(windowName, type) in 6.1.3 i1
[fix] SVY-3434 JSCalculations defined in the Table Editor as JSVariable.NUMBER type return for their property JSCalculation.variableType something else (value 6)
[fix] SVY-3636 Incorrect warnings are generated if switch-case blocks return results from different scopes or forms
[fix] SVY-3500 Can't setup form - global method
[fix] SVY-3499 Instead of Array<None> why not Array<Object>?
[fix] SVY-3498 Exporting to WAR file fails in Developer
[fix] SVY-3497 DataSet returned from getDataSetByQuery not recognized
[fix] SVY-3496 JSRecord<{key: value}> no longer recognized
[fix] SVY-3568 Multi-level js docs no longer show up
[fix] SVY-3484 Invalid warnings are displayed since upgrade to 6.13
[fix] SVY-3488 Erroneous warning in 6.1.3 for methods that pass JSRecord variables from main solution to module solution
[fix] SVY-3422 When running unit tests, if a particular test fails due to an error and not an assertion failure the Failure Trace does not provide an option to navigate to the failed test.
[fix] SVY-3419 newRelationItem: not working with LITERALs
[fix] SVY-3416 .WAR file deployment/Can't set RMI factory
[fix] SVY-3379 nullpointer exception when opening JSDoc/Method variable
[fix] SVY-3320 Column names cut off after 11 characters, when creating a DBF table in rawSQL

Server Changes
[fix] SVY-3888 clients_stats table missing
[fix] SVY-3873 JNLP file containing <extension /> element can not be launched if Servoy is deployed as a WAR in its own "context"
[fix] SVY-3860 Sorting on value list display value is not working if a field's dataprovider is bound to a relation 2 or more hops away.
[fix] SVY-3854 Importing meta data table in Application Server
[fix] SVY-3851 Servoy server crashes with Out Of Memory error when deployed using WAR in a web container
[fix] SVY-3842 Warnings are generated when calling functions which expect array of custom type as arguments and the array is initialized as [new custType(...), new custType(...)]
[fix] SVY-3838 Headless client without Solution name by wrong WebService URL
[fix] SVY-3837 application.getServerURL() returns a wrong URL when Servoy is deployed to Tomcat with context path != root context path
[fix] SVY-3684 Random "Error calling server" errors when closing dialogs in Firefox
[fix] SVY-3409 warning in 6.1.3 about variable not being used
[fix] SVY-3557 NPE in com.servoy.j2db.server.headlessclient.PageContributor.removeFormAnchorInfo
[fix] SVY-2799 Pre-Import hook modules do not fail solution imports when an error is thrown in their onOpen method

Plugin Changes
[fix] SVY-3593 The method plugins.maintenance.getDataModelClonesFrom(name) does not return anything
[fix] SVY-3804 File upload callback method is not triggered in web client
[fix] SVY-3403 plugins.file.readTXTFile() always returns null
[fix] SVY-3634 Set positioning of a formPopup
[fix] SVY-3633 Problem with plugins.file.streamFilesFromServer
[fix] SVY-3615 Having shortcutson inherited forms prevent users from entering data in the fields
[fix] SVY-3587 DBTreeTableView createRelationInfo() returns invalid object when no DBTreeView is used or initiated
[fix] SVY-3425 Servoy 6 http plugin unable to process POST request like Servoy 4 plugin
[fix] SVY-3345 Unable to read attachment name with mailplugin when the attachment name has special char
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Re: Servoy 6.1.4

Postby john.allen » Wed Mar 06, 2013 1:14 am

After updating to 6.1.4 there is a display problem with a valuelist that returns an ID but shows a text and date field.

I have a relationship 'mets_at_tx_to_mets' based on field mets_id on both tables. In the mets_at_tx form I have a field mets_id. I have a valuelist for that field based on the relationship mentioned. I return 'mets_id' to that field but show 'mets_site - mets_date'. Up until now that has been fine displaying data like this: 'Brain - 10/12/2012'. Since the upgrade to 6.1.4 it now shows: 'Brain - ###.##'. This is no formatting on the field.
John Allen
Stanford University
john.allen
 
Posts: 515
Joined: Wed Jul 02, 2003 10:07 pm
Location: Stanford CA USA

Re: Servoy 6.1.4

Postby lvostinar » Wed Mar 06, 2013 10:39 am

john.allen wrote:After updating to 6.1.4 there is a display problem with a valuelist that returns an ID but shows a text and date field.

I have a relationship 'mets_at_tx_to_mets' based on field mets_id on both tables. In the mets_at_tx form I have a field mets_id. I have a valuelist for that field based on the relationship mentioned. I return 'mets_id' to that field but show 'mets_site - mets_date'. Up until now that has been fine displaying data like this: 'Brain - 10/12/2012'. Since the upgrade to 6.1.4 it now shows: 'Brain - ###.##'. This is no formatting on the field.


This seems a bug, we are investigating it. ( https://support.servoy.com/browse/SVY-4077)
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1047
Joined: Tue Feb 19, 2008 10:53 am

Re: Servoy 6.1.4

Postby swingman » Wed Mar 06, 2013 12:03 pm

Hi the syntax for application.executeProgram() and application.executeProgramInbackground() seem to have changed in 6.1.4. Can't see any mention in the release notes.
My old code was
Code: Select all
var afilepath = file.getAbsolutePath();
if (utils.stringMiddle(application.getOSName(), 1, 7) == "Windows") {
   application.executeProgramInBackground("rundll32", "url.dll,FileProtocolHandler", afilepath);
} else {
   application.executeProgram('open', afilepath);
}


Now I get prompted to change it to:

Code: Select all
var afilepath = file.getAbsolutePath();
if (utils.stringMiddle(application.getOSName(), 1, 7) == "Windows") {
   application.executeProgramInBackground("rundll32.exe", ["url.dll,FileProtocolHandler", afilepath]);
} else {
   application.executeProgram('open', [afilepath]);
}


And this does not work on Windows... Mac OS is fine. Any ideas what I'm doing wrong?
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1173
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: Servoy 6.1.4

Postby obuligan » Wed Mar 06, 2013 6:54 pm

@swingman until the next update , for executeProgramInBackground function try using with the extra two arguments as null like so:
Code: Select all
application.executeProgramInBackground("rundll32.exe", ["url.dll,FileProtocolHandler", afilepath],null,null);


this should work
Ovidiu Buligan
Servoy
obuligan
 
Posts: 0
Joined: Mon Dec 03, 2012 4:40 pm

Re: Servoy 6.1.4

Postby john.allen » Wed Mar 06, 2013 8:52 pm

Is there a work around to get it to format properly in the meantime? I just mean with formatting. I know there are other ways of doing this with calculations or whatever but just wondering if there is a formatting mask that might work.
lvostinar wrote:This seems a bug, we are investigating it. ( https://support.servoy.com/browse/SVY-4077)
John Allen
Stanford University
john.allen
 
Posts: 515
Joined: Wed Jul 02, 2003 10:07 pm
Location: Stanford CA USA

Re: Servoy 6.1.4

Postby swingman » Thu Mar 07, 2013 4:39 pm

If you have a field in your PostgreSQL database of type 'interval', Servoy 6.1.4 will refuse to save new records. You get a

Code: Select all
com.servoy.j2db.dataprocessing.DataException: Unknown Types value.


Code: Select all
insert into assignments (
assignment_client_id,
assignment_researcher_id,
assignment_consultant_id,
assignment_title,
assignment_status,
assignment_projected_revenue_fy,
assignment_projected_revenue,
assignment_fee,
assignment_salary,
assignment_salary_override,
assignment_type,
assignment_time_taken,
<lots of stuff omitted>
?) with params:
[NullValue with type: 4 ,type: com.servoy.j2db.dataprocessing.ValueFactory$NullValue,
NullValue with type: 4 ,type: com.servoy.j2db.dataprocessing.ValueFactory$NullValue,
NullValue with type: 4 ,type: com.servoy.j2db.dataprocessing.ValueFactory$NullValue,
NullValue with type: 12 ,type: com.servoy.j2db.dataprocessing.ValueFactory$NullValue, 'Active' ,type: java.lang.String,
NullValue with type: 2 ,type: com.servoy.j2db.dataprocessing.ValueFactory$NullValue,
NullValue with type: 2 ,type: com.servoy.j2db.dataprocessing.ValueFactory$NullValue,
NullValue with type: 2 ,type: com.servoy.j2db.dataprocessing.ValueFactory$NullValue,
NullValue with type: 2 ,type: com.servoy.j2db.dataprocessing.ValueFactory$NullValue,
NullValue with type: 2 ,type: com.servoy.j2db.dataprocessing.ValueFactory$NullValue, 'Assignment' ,type: java.lang.String,
NullValue with type: 2000 ,type: com.servoy.j2db.dataprocessing.ValueFactory$NullValue,
<lots of stuff omitted>


it can't cope with that 'NullValue with type: 2000'.

In my case, I have deleted the field. It was redundant.
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1173
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: Servoy 6.1.4

Postby lvostinar » Thu Mar 07, 2013 4:45 pm

john.allen wrote:Is there a work around to get it to format properly in the meantime? I just mean with formatting. I know there are other ways of doing this with calculations or whatever but just wondering if there is a formatting mask that might work.
lvostinar wrote:This seems a bug, we are investigating it. ( https://support.servoy.com/browse/SVY-4077)


You can put on the field a date format (for example dd-MM-yyyy ). I think this should work (as a workaround).
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1047
Joined: Tue Feb 19, 2008 10:53 am

Re: Servoy 6.1.4

Postby john.allen » Thu Mar 07, 2013 10:09 pm

lvostinar wrote:You can put on the field a date format (for example dd-MM-yyyy ). I think this should work (as a workaround).


Wow. That works even though it is a combo field with text before the date. I have some other return integer/display date value lists that have the same issue and using the date formatting works to correct it. Never thought it would work where the return is a combination of field types.
Thanks! :D
John Allen
Stanford University
john.allen
 
Posts: 515
Joined: Wed Jul 02, 2003 10:07 pm
Location: Stanford CA USA

Re: Servoy 6.1.4

Postby grahamg » Sun Mar 10, 2013 6:57 pm

Just upgraded to 6.1.4 from 6.1.3 - special thanks for sorting the Table headers.

Robert Ivens has reported (SVY-4058) the issue when trying to resize tab panels with Shift/Cmd + arrows. When you try to increase/decrease size, or move a panel, the focus jumps to the Form(s) and inputs are ignored except for the first key press.

Have tested this on OSX 10.8.2 and Win7 with same results. Not life threatening but if a quick fix was available it would be helpful. Maybe a few more votes guys?


Cheers
Graham Greensall
Worxinfo Ltd
www.worxinfo.com
grahamg
 
Posts: 723
Joined: Fri Oct 03, 2003 3:15 pm
Location: Midlands UK

Re: Servoy 6.1.4

Postby rafig » Wed Mar 13, 2013 2:40 pm

Hi all,
this might seem like a really stupid question, but, is there anywhere that lists the reasons My Client/End Customer (i.e. not me the developer) should upgrade from Servoy 5.2.x (currently 5.2.6) to 6.1.x??
e.g. Performance is improved, greater xxx, better yyy ???????
As well, What are the reasons I should give my client from a Developer point of view??
(I am trying hard to get them to move from 5.2.6 to 6.1.x ASAP [& def. before ServoyWorld], but they are delaying, so want to give them as many positive reasons to spend the time testing on 6.1.x so we can go live with it...]
Thanks
Rafi
Servoy Certified Developer
Image
rafig
 
Posts: 481
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Re: Servoy 6.1.4

Postby david » Wed Mar 13, 2013 2:46 pm

Developer point of view: web client and style handling improvements. Customer point of view: what you can do with 6.1.4. If they don't need web client, stay on 5.2.6.

Or talk about moving to 7 from 5.2.6 instead and add mobile to their applications.
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1724
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Re: Servoy 6.1.4

Postby IT2Be » Wed Mar 13, 2013 3:02 pm

Rafi, do you know why they are delaying?
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4763
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: Servoy 6.1.4

Postby rafig » Wed Mar 13, 2013 3:11 pm

Hi Marcel,
IT2Be wrote:Rafi, do you know why they are delaying?

basically they say they (staff) are too busy at the moment, so we need to wait for a quieter time (October/November :( ) to do testing...
Thanks
Rafi
Servoy Certified Developer
Image
rafig
 
Posts: 481
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Re: Servoy 6.1.4

Postby rafig » Wed Mar 13, 2013 3:13 pm

Hi David,
david wrote:Developer point of view: web client and style handling improvements. Customer point of view: what you can do with 6.1.4. If they don't need web client, stay on 5.2.6.

Or talk about moving to 7 from 5.2.6 instead and add mobile to their applications.

Thanks for the input.
In fact, I am going to use DataSutra as one of the key reasons to upgrade :D , but wanted Servoy specific stuff (web client not vital as almost all users are on desktop/laptops with Java...)
Thanks
Rafi
Servoy Certified Developer
Image
rafig
 
Posts: 481
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Next

Return to Announcements

Who is online

Users browsing this forum: No registered users and 2 guests

cron