We are pleased to announce the immediate availability of Servoy 6.1.1 release (releaseNumber 1420).
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.
All the issues addressed:
Client Changes
[fix] SVY-2808 WebClient and visible property in fields problem
[fix] SVY-2803 foundset.search() seemingly trims blanks
[fix] SVY-2788 go to last record worked in 5.1.x but not in 6.1
[fix] SVY-2784 get/setSelectedIndexes tooltip is a bit confusing
[fix] SVY-2783 setSelectedIndexes doesn’t work
[fix] SVY-2766 No auto scroll in forms when a button gains the focus in Smart Client.
[fix] SVY-2760 Changes made in dialog forms are saved in the database even when auto-save is disabled and databaseManager.saveData is not called if the dialog is closed using the X button.
[fix] SVY-2748 Anchoring ajax chatter
[fix] SVY-2743 The method getSelectedElements() of MULTISELECT_LISTBOX fields returns incorrect values in the Web Client
[fix] SVY-2739 Typeahead and wildcards usage
[fix] SVY-2728 Horizontal Scroll does on table view form does not work in webclient when foundset has no data and scroll paging is enabled in the solution.
[fix] SVY-2717 Webclient does not render correctly across all browsers
[fix] SVY-2716 fallbacklist is not used when the displaytype is textfield
[fix] SVY-2713 DatabaseManager.getSQL() does not return accurate SQL
[fix] SVY-2712 Changing the controller.enabled property at runtime disables the form only on the first call
[fix] SVY-2699 Last column in table view with horizonal scroll = never is being cut of when scroll paging is enabled in webclient.
[fix] SVY-2682 Navigator increases by 4px every time it is loaded from another form
[fix] SVY-2674 text_area rollback bug
[fix] SVY-2673 The method databaseManager.convertFoundSet(primaryFoundSet, relatedFoundSet) returns only data which is saved in the database and ignores all records which are not saved yet
[fix] SVY-2670 Title border on label does not show up in web client if margins are modified.
[fix] SVY-2665 Forms with Multiple Text Area controls do not work properly in Webclient in IE9
[fix] SVY-2659 Table view column-aligment in IE with TABLEVIEW_WC_DEFAULT_SCROLLABLE enabled
[fix] SVY-2644 Scroll-Paging on Table-View form in Web-client stops working in IE9 after opening a window.
[fix] SVY-2637 Tooltip text not being shown when rollover image specified
[fix] SVY-2635 HTML_AREA fields not displaying media
[fix] SVY-2630 Form variable which is set to a string-type value can no longer be set to an UUID-type value using application.getUUID(uuidString)
[fix] SVY-2628 Valuelists based on tables which are configured to return to the dataprovider a value from a column flagged as UUID actually return a String instead of UUID
[fix] SVY-2627 Setting the border property of the Renderable object available from the JSRenderEvent causes errors to be logged on the server
[fix] SVY-2610 Date format in webclient is not overwritten when typing a date
[fix] SVY-2606 In the Web Client during drag-and-drop operations in the DBTreeView the onDrop event callback is fired even when the onDragOver returns false indicating that the drop is not allowed
[fix] SVY-2605 In Firefor, buttons with imageMedia property set do not display the image
[fix] SVY-2603 TYPE_AHEAD Integer Field with Custom valuelist problem
[fix] SVY-2591 Aggregation (count) returns null instead of 0 after deleting the last record in the filtered foundset
[fix] SVY-2585 JSWindow.setSize() does not work in Webclient.
[fix] SVY-2580 checkbox titleText doesn’t change with onDatachange
[fix] SVY-2536 Email with more than three letter top-level domain does not work when using email validator
[fix] SVY-2504 ESC (Back to old text) does not work on field in a tabpanel in a form in dialog
[fix] SVY-2459 barcode font will not display in most situations
Developer Changes
[fix] SVY-639 mnemonic on tabs of tabpannels not visible
[fix] SVY-2663 Wiki update request for defaultValue
[fix] SVY-2779 column name automatically changed
[fix] SVY-2737 Servoy Developer shows errors for missing dbi files for tables from databases which are “clones” of other database with existing dbi files
[fix] SVY-2687 warning not showing in problems window
[fix] SVY-2625 security.createGroup not working in developer
[fix] SVY-2600 Problem deleting tabs when tabOrientation is set to HIDE
[fix] SVY-2389 Exporter.bat does not work with some solutions
[fix] SVY-2367 unnecessary warning on valuelist, on different datasources
[fix] SVY-2326 typeof(cString) = ‘object’ if cString contains a bunch of " ( . |"
[fix] SVY-1963 We want to get a warning/error in the developer when a duplicate calculation (name) is created/exists on a table in an other solution (in the same build path).
[fix] SVY-420 When debugging SmartClient apps in Servoy Developer, any changes made to the runtime environment on solution load (e.g. using application.setUIProperty(…)) are not being reverted back to their defaults after closing the SC and “killing” the debug thread
Server Changes
[fix] SVY-2828 The Spinner field is disabled when accessed from a servoy application server in a web client.
[fix] SVY-2799 Pre-Import hook modules do not fail solution imports when an error is thrown in their onOpen method
[fix] SVY-2807 DBF Tables are not Retaining Their Row Ident and Sequence Type Settings
[fix] SVY-2708 Error accessing foxpro tables from client
[fix] SVY-2736 Unexpected errors and warnings after upgrade
[fix] SVY-2715 too many batch processor created
[fix] SVY-2631 Deleting solutions using the option “Delete All Solutions” from the Servoy Admin page leaves old solutions data in the Servoy repository database
[fix] SVY-2384 When deploying solution on Oracle DB, “db identity” columns are not set to “servoy sequence”, although Servoy tells me it has done so
Plugin Changes
[fix] SVY-2700 Pop-up forms do not auto-hide in webclient when they lose focus in IE9.
[fix] SVY-2649 elements.dbtreeview.setRowHeight(35) does not work in web-client
[fix] SVY-2617 The DBTreeView component allows drag-and-drop operations when its enabled property is set to false
I don’t see this ticket number in the release notes so I guess it never made it into this version even thought the ticket’s Fix version/s does state ‘Servoy 6.1.1, Sprint 21’.
However, we are facing big problems with this update:
Type-ahead valuelist contains ’ ’ entry instead of an empty value (see screenshot)
Type-ahead list do not show up correctly in IE8. Sometimes it shows up, but mostly not. A script error is reported when it does not show up.
When a field contains a format (mask), the field looks like it gets stretched over the entire form. After focussing the field, the form looks normal. This is in IE8 only.
(See screenshot)
A huge bug. When scrolling tableviews are enabled and a popup-form containing a related tab-panel is opened for the second time, the foundset in the related
tabpanel looks empty. When a record is added, the other records are shown.
We will file an issue for 1,2 and 4. We’ve not been able to reproduce issue 3, but still it happens on all fields having a format in our solution.
Issues reported: Jira, Jira, Jira
plugins.serialize.toJSON /fromJSON no longer handles correctly empty arrays (array with no elements).
For example:
var test = [];
var jsonStr = plugins.serialize.toJSON(test);
var result = plugins.serialize.fromJSON(jsonStr);
//the result will no longer be an array - when inspected it appears as an array with 1 element, however its length property is 0 and its type is not an array
application.output(result);
plugins.serialize.toJSON /fromJSON no longer handles correctly empty arrays (array with no elements).
For example:
var test = [];
var jsonStr = plugins.serialize.toJSON(test);
var result = plugins.serialize.fromJSON(jsonStr);
//the result will no longer be an array - when inspected it appears as an array with 1 element, however its length property is 0 and its type is not an array
application.output(result);
The case for this is: <a class="postlink" href="https://support.servoy.com/browse/SVY-2933">https://support.servoy.com/browse/SVY-2933</a>
var test = [];
var jsonStr = plugins.serialize.toJSON(test);
application.output(jsonStr);
var result = plugins.serialize.fromJSON(jsonStr);
//the result will no longer be an array - when inspected it appears as an array with 1 element, however its length property is 0 and its type is not an array
application.output(result);
application.output(result instanceof Array);
application.output(result.concat([1,2]));
if i test that in 6.1.1 then the output is what i expect it to be
it says true for the instanceof and it just concats the 2 values to that empty array and prints that.
var jsonStr = plugins.serialize.toJSON(test);
application.output(jsonStr);
var result = plugins.serialize.fromJSON(jsonStr);
//the result will no longer be an array - when inspected it appears as an array with 1 element, however its length property is 0 and its type is not an array
application.output(result);
application.output(result instanceof Array);
application.output(result.concat([1,2]));
if i test that in 6.1.1 then the output is what i expect it to be
it says true for the instanceof and it just concats the 2 values to that empty array and prints that.
just tested that also in 6.1.0 and i get exactly the same output
plugins.serialize.toJSON /fromJSON no longer handles correctly empty arrays (array with no elements).
For example:
var test = [];
var jsonStr = plugins.serialize.toJSON(test);
var result = plugins.serialize.fromJSON(jsonStr);
//the result will no longer be an array - when inspected it appears as an array with 1 element, however its length property is 0 and its type is not an array
application.output(result);
The case for this is: <a class="postlink" href="https://support.servoy.com/browse/SVY-2933">https://support.servoy.com/browse/SVY-2933</a>
var test = [];
var jsonStr = plugins.serialize.toJSON(test);
application.output(jsonStr);
var result = plugins.serialize.fromJSON(jsonStr);
//the result will no longer be an array - when inspected it appears as an array with 1 element, however its length property is 0 and its type is not an array
application.output(result);
application.output(result instanceof Array);
application.output(result.concat([1,2]));
if i test that in 6.1.1 then the output is what i expect it to be
it says true for the instanceof and it just concats the 2 values to that empty array and prints that.
The attached file shows the odd behavior. Notice how the deserialized empty array shows up as if having 1 element. If you try to pass such array for example to application.setValueListItems method, you get the error:
I don’t know the use case for using the serializer plugin anymore now that the Rhino engine has been updated. Maybe for handling java objects? Dunno the answer. But it is well known that it is a bit buggy and doesn’t parse elegantly by default browser JSON implementations.
So for straight up JSON, we now use:
[attachment=0]Screen shot 2012-08-28 at 1.48.15 PM.png[/attachment]
the serializer is also used for other things like rest and column serializer…
But we have currently a issue that should make the serializer plugin way better with just plain javascript objects… So if you have pure js objects JSON or the plugin should give the same results.