Servoy 5.2.7

We are pleased to announce the immediate availability of Servoy 5.2.7

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.

Client Changes
[fix] 357350 Calculation fields not always updating
[fix] 360109 Calculation blocks application
[fix] 359924 RadioChoice build on a related dataprovider can’t be set
[fix] 359819 Date/time has some issues considering day-saving times when constructing new Date object
[fix] 359499 Some CSS font properties seem not to work
[fix] 358206 Solution first form not shown after security.login() when login form inherited (enhandedSecurity = false)
[fix] 360872 Selected record not shown in FormInDialogs
[fix] 360866 valuelist popup stayes on screen
[fix] 353089 Sort and load records in a foundset with record count of 200+
[fix] 365188 Loading Foundset Issue
[fix] 360307 Display of radio button broken
[fix] 294509,313395 Tooltip does not work in listview
[fix] 360757 rendering & layout problems with html and rtf areas when sent to a pdf
[fix] 364361 Numeric Keyboard ‘,’ (or ‘.’ in some keyboard) on NOT editable fields
[fix] 363987 clicking tab panels causing field focus
[fix] 364212 Inherited form resizing shows warning

WebClient Changes
[fix] 357329 non anchored portal does also deferred loading of rows
[fix] 358077 Ondatachange called multiple times in Webclient
[fix] 364442 onFocusGained fails in WebClient
[fix] 356931 make a webonly/headless solution, independent of property: loginSolutionName
[fix] 361509 webservice post data: array elements cannot be accessed in scripting
[fix] 361876 second time creating runtime form does not show in tabpanel Webclient
[fix] 357682 WC html editor not immediately shown when using multiple tabpanels
[fix] 352535 Webclient not jumping to expired.html [regression just showed this is not fixed for all expired scenario’s]
[fix] 363220 Issues with onHide event in Webclient
[fix] 363520 Tooltips causing bad visual effects in web client
[fix] 361904 event.getModifiers() does not work on onsort
[fix] 360034 Problem with checkboxes in web client
[fix] 363689 Webclient header is cut of in case of top, left, right anchor

Developer Changes
[fix] 360576 Checking for stale forms should not be done in background, also should be reported as a JSError (a developer only error)
[fix] 359901 Case-insensitive operator in relation is not being supported by the app server

Application Server Changes
[fix] 356344 Large text is imported as text in stead of ntext
[fix] 356549 upgradeRepository causes error when db doesn’t support bigint (MaxDB)
[fix] 364090 Committed STP changes are lost after restart application server
[fix] 357349 Problem loading a solution from server started as service

Plugin Changes
[fix] 330123 popup menu will show below the window
[fix] 360893 Shortkeys don’t work in SC when form is readonly

Jan,

When I attempt to update using ‘auto update’, I get the following error message:

No updates were found.

Hi Kim,

It worked for me twice.
You’re sure the Available Update Sites (in your preference) has Servoy enabled?
(I am talking about Developer)

Hi, Robert.

The auto update preferences has the following Servoy item checked:

http://www.servoy.com/developer/6xx_updates

I just tried running the update again (Help → Check for Updates) and received the same message. It goes through the motion of checking by emitting the messages ‘Checking for updates’ and ‘One operation remaining’ while showing the green progress bar. How strange that is works for you, but not for me.

I am running Servoy version 6.0.0 a6 and JVM 1.6.0_24 on Windows 7.

EDIT: Nevermind…the update is for 5.2.7, not 6.0.0 a7. Sorry to bother.

Hi

Am finding with windows 7 client installs that I am having to do a reinstall of client. Receiving numerous errors on login, which go away after reinstall. Not sure about the other OS yet.

Is this correct/expected behaviour?

what do you mean with client installs?
The smart client? how do you reinstall them? Cleaning the webstart cache?
That shouldn’t be needed at all, webstart should just get the latest jars and start the client, what kind of errors do you exactly get (in the console)

Hi

Smart client, ‘could not retrieve form data’ errors. Didn’t look at the log as i just reinstalled straight away.

All seems fine after reinstalling the client, did this by first clearing the webstart cache.

Maybe has something to do with the new jasper reports plugin (I am also using the new version of this)?

The case

[fix] 364090 Committed STP changes are lost after restart application server

has not been fixed. The committed changes are still lost. I’ll reopen the case

martinh:
The case

[fix] 364090 Committed STP changes are lost after restart application server

has not been fixed. The committed changes are still lost. I’ll reopen the case

do you see any error in the log of the servoy team server ?

What logfile do I have to check?

martinh:
What logfile do I have to check?

in the “servoy_log.txt” of the servoy install used as team provider

There is no warning or error at all (just 2 warning about table > 30 chars, but these are not the tables concerned with the problem). Log wasn’t cleared since startup

martinh:
There is no warning or error at all (just 2 warning about table > 30 chars, but these are not the tables concerned with the problem). Log wasn’t cleared since startup

please also attach a screenshot with the synch view, where the incommong changes are shown

Gabi Boros:
please also attach a screenshot with the synch view, where the incommong changes are shown

Gabi,

See the case in the support system. There is already a screenshot.

Martin

martinh:

Gabi Boros:
please also attach a screenshot with the synch view, where the incommong changes are shown

Gabi,

See the case in the support system. There is already a screenshot.

Martin

yes I know that, so it means that you still have
the same thing not saved : the converter methods ?

Other changes are not saved as well.
I added a new screenshot
It happens more and more
Maybe the repository database is corrupt?

Fairly sure I have a 5.2.7 bug. My test server went from 5.2.4 to 5.2.7 on Friday while my production server is still on 5.2.2. Since the 5.2.7 update I’m consistently getting a validation error about trying to null a field _nothing_is telling Servoy to null. I have no method or calculation code which refers to “emergency_yn”, the column that is reporting the error. The field is not allowed to be null, so I get an actual error when Servoy nulls it. Weirdly, it nulls it while firing calculations/methods on an entirely different screen/table. I’ve localized the moment it’s doing it, in the middle of a loop that is very complicated but working on a very different part of the system. Nothing in that loop touches that field. My production server does not have the same problem on 5.2.2 and my test server did not have this problem thursday on 5.2.4, with my code unchanged in any of those versions.

what sql statements are then fired to the database?

From the Performance log, cleared just before i encounter the problem. None of the below refers to emergency_yn:

Total Time (mm:ss:ms) Count Avg Time (mm:ss:ms) Type Action
00:00:016 1 00:00:016 Aggregate SQL select top 2 sum(cast(actual as double precision)) as sumactual, sum(cast(target as double precision)) as sumtarget, sum(cast(model as double precision)) as summodel, sum(cast(etc as double precision)) as sumetc, sum(cast(eac as double precision)) as sumeac from cm where (userid = ? and fk_projid = ?)
00:00:016 1 00:00:016 Find select top 201 proj_id from TblProj01Project where proj_id = ? order by proj_id asc
00:00:016 2 00:00:008 Relation select top 61 qa_id, tier0_id, tier1_id, recommendedrange, qacomment, tier2_id from TblLookup33QA where (tier1_id = ? and tier0_id = ? and tier2_id = ?) order by qa_id asc
00:00:015 2 00:00:007 Insert insert into cm (sortby0, userid, contract_nbr, budget_title, fk_projid, tier1_desc, target, tier2_desc, tier3_id, eac, budget_id, tier1_id, tier0_desc, sortby3, numchildren, contract_id, tier2_id, sortby4, contract_title, sortby, etc, actual, etceac, tier3_desc, model, sortby2, currentlyopen, cost_center, constant1, budget_nbr, mindate, maxdate, toggle, curryrplussix, curryr, curryrplusfive, curryrallrest, tier1_phase_order, curryrplustwo, tier0_id, curryrplusfour, color, diff, curryrplusthree, curryrplusone, datadate, currentlyincl, usingallfunction, currentlyediting, parentbudget_id, tier2sort, monththru, ytd_actual, fc_remaining, model_display, curryrplusfour_display, curryr_display, curryrplussix_display, curryrplustwo_display, curryrplusfive_display, ytdactual_display, total_display, forecast_display, diff_display, actual_display, curryrallrest_display, fcremaining_display, curryrplusthree_display, curryrplusone_display, background, ytdstatusmonth, exclamation, currentlyhilited, currentlyuptodate, log_display, qarecommendedrange, qacomments, qamodelou, title_yn, target_id, escalate_yn, showsalestax, curradopted_amt, modlamt, escalated, monthremaining, display_tier2_desc, contract_tooltip, arrow, arrow2, cm_id, gate3_amt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
00:00:000 1 00:00:000 Delete delete from cm where (userid = ? and fk_projid = ?) and userid = ?
00:00:000 1 00:00:000 Insert insert into cm (sortby0, userid, contract_nbr, budget_title, fk_projid, tier1_desc, target, tier2_desc, tier3_id, eac, budget_id, tier1_id, tier0_desc, sortby3, numchildren, contract_id, tier2_id, sortby4, contract_title, sortby, etc, actual, etceac, tier3_desc, model, sortby2, currentlyopen, cost_center, constant1, budget_nbr, mindate, maxdate, toggle, curryrplussix, curryr, curryrplusfive, curryrallrest, tier1_phase_order, curryrplustwo, tier0_id, curryrplusfour, color, diff, curryrplusthree, curryrplusone, datadate, currentlyincl, usingallfunction, currentlyediting, parentbudget_id, tier2sort, monththru, ytd_actual, fc_remaining, model_display, curryrplusfour_display, curryr_display, curryrplussix_display, curryrplustwo_display, curryrplusfive_display, ytdactual_display, total_display, forecast_display, diff_display, actual_display, curryrallrest_display, fcremaining_display, curryrplusthree_display, curryrplusone_display, background, exclamation, currentlyhilited, currentlyuptodate, log_display, qarecommendedrange, qacomments, qamodelou, title_yn, target_id, escalate_yn, showsalestax, curradopted_amt, modlamt, escalated, monthremaining, display_tier2_desc, contract_tooltip, arrow, arrow2, cm_id, gate3_amt) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
00:00:000 1 00:00:000 Load valueList select distinct top 801 section_id, section_title from TblLookup10Section where section_id = ? order by section_title asc
00:00:000 3 00:00:000 Refresh/Rollback select top 2 sortby0, userid, contract_nbr, budget_title, fk_projid, tier1_desc, target, tier2_desc, tier3_id, eac, budget_id, tier1_id, tier0_desc, sortby3, numchildren, contract_id, tier2_id, sortby4, contract_title, sortby, etc, actual, etceac, tier3_desc, model, sortby2, currentlyopen, cost_center, constant1, budget_nbr, mindate, maxdate, toggle, curryrplussix, curryr, curryrplusfive, curryrallrest, tier1_phase_order, curryrplustwo, tier0_id, curryrplusfour, color, diff, curryrplusthree, curryrplusone, datadate, currentlyincl, usingallfunction, currentlyediting, parentbudget_id, tier2sort, costmanagementid, monththru, ytd_actual, fc_remaining, model_display, curryrplusfour_display, curryr_display, curryrplussix_display, curryrplustwo_display, curryrplusfive_display, ytdactual_display, total_display, forecast_display, diff_display, actual_display, curryrallrest_display, fcremaining_display, curryrplusthree_display, curryrplusone_display, background, ytdstatusmonth, exclamation, currentlyhilited, currentlyuptodate, log_display, qarecommendedrange, qacomments, qamodelou, title_yn, target_id, escalate_yn, showsalestax, curradopted_amt, modl_display, modlamt, modelamt, escalated, monthremaining, display_tier2_desc, contract_tooltip, arrow, arrow2, cm_id, gate3_amt from cm where costmanagementid = ?
00:00:000 2 00:00:000 Aggregate SQL select top 2 sum(cast(actual as double precision)) as sumactual, sum(cast(target as double precision)) as sumtarget, sum(cast(model as double precision)) as summodel, sum(cast(etc as double precision)) as sumetc, sum(cast(eac as double precision)) as sumeac from cm where (fk_projid = ? and userid = ? and tier2_id = ?)
00:00:000 1 00:00:000 Aggregate SQL select top 2 sum(cast(calcpercent as double precision)) as sumpercent, sum(cast(budget as double precision)) as sumbudget from TblContractPlan01Budget where budget_id = ?
00:00:000 1 00:00:000 Find select top 201 costmanagementid from cm where (userid = ? and fk_projid = ?) and userid = ? order by costmanagementid asc
00:00:000 1 00:00:000 Relation select top 61 budget_id, proj_id, tier2_id, bct_code, budget, contract_nbr, contract_desc, curve_type, update_date, end_date, start_date, UserId, update_mark, tier3_id, contract_id, calcyear, calcpercent, subnbr, tax_percent, parentbudget_id, contracttype_id, contractmilestoneshow_yn, hide_yn, converted, ytdstatusmonth, contract_title, paytype_id, loe_amt, otherfund_yn, shortscope, user_requested_id, inqtrlyrpt_yn, milestone_yn, showbudgetQtrly_yn, rfpad_date, reqrfpaddate, origscope_id from TblContractPlan01Budget where budget_id = ? order by budget_id asc
00:00:000 2 00:00:000 Load foundset select top 61 costmanagementid from cm where (fk_projid = ? and userid = ? and tier2_id = ?) order by costmanagementid asc
00:00:000 1 00:00:000 Relation select top 61 proj_id, ratingyear_id, eval_desc, eval_reason, eval_scope, budgetphase_id, budgetshare_id, percent_new, percent_existing, update_date, userid, update_mark, art_yn, artreason_id, artother_desc, artpercent_id, escalated_yn, model_yn, highrisk_yn, annualop_amt, opstartyear_nbr, highriskscore_amt from TblProj12EvalInfo where (proj_id = ? and ratingyear_id = ?) order by proj_id asc, ratingyear_id asc
00:00:000 1 00:00:000 Relation select top 61 screen_id, code, name, reminder_id, formname, tabname, nickname, hometabindex, projecttabindex, contracttabindex, projectfinancialstabindex, contractfinancialstabindex, projectscheduletabindex, tab1index, tab2index, tab3index, tab4index, tab5index, printing, exporting, storedproc, printing_notes, exporting_notes, readonly, help from screens where code = ? order by screen_id asc
00:00:000 2 00:00:000 Relation select top 61 sortby0, userid, contract_nbr, budget_title, fk_projid, tier1_desc, target, tier2_desc, tier3_id, eac, budget_id, tier1_id, tier0_desc, sortby3, numchildren, contract_id, tier2_id, sortby4, contract_title, sortby, etc, actual, etceac, tier3_desc, model, sortby2, currentlyopen, cost_center, constant1, budget_nbr, mindate, maxdate, toggle, curryrplussix, curryr, curryrplusfive, curryrallrest, tier1_phase_order, curryrplustwo, tier0_id, curryrplusfour, color, diff, curryrplusthree, curryrplusone, datadate, currentlyincl, usingallfunction, currentlyediting, parentbudget_id, tier2sort, costmanagementid, monththru, ytd_actual, fc_remaining, model_display, curryrplusfour_display, curryr_display, curryrplussix_display, curryrplustwo_display, curryrplusfive_display, ytdactual_display, total_display, forecast_display, diff_display, actual_display, curryrallrest_display, fcremaining_display, curryrplusthree_display, curryrplusone_display, background, ytdstatusmonth, exclamation, currentlyhilited, currentlyuptodate, log_display, qarecommendedrange, qacomments, qamodelou, title_yn, target_id, escalate_yn, showsalestax, curradopted_amt, modl_display, modlamt, modelamt, escalated, monthremaining, display_tier2_desc, contract_tooltip, arrow, arrow2, cm_id, gate3_amt from cm where (fk_projid = ? and userid = ? and tier2_id = ?) order by costmanagementid asc
00:00:000 1 00:00:000 Relation select top 61 sortby0, userid, contract_nbr, budget_title, fk_projid, tier1_desc, target, tier2_desc, tier3_id, eac, budget_id, tier1_id, tier0_desc, sortby3, numchildren, contract_id, tier2_id, sortby4, contract_title, sortby, etc, actual, etceac, tier3_desc, model, sortby2, currentlyopen, cost_center, constant1, budget_nbr, mindate, maxdate, toggle, curryrplussix, curryr, curryrplusfive, curryrallrest, tier1_phase_order, curryrplustwo, tier0_id, curryrplusfour, color, diff, curryrplusthree, curryrplusone, datadate, currentlyincl, usingallfunction, currentlyediting, parentbudget_id, tier2sort, costmanagementid, monththru, ytd_actual, fc_remaining, model_display, curryrplusfour_display, curryr_display, curryrplussix_display, curryrplustwo_display, curryrplusfive_display, ytdactual_display, total_display, forecast_display, diff_display, actual_display, curryrallrest_display, fcremaining_display, curryrplusthree_display, curryrplusone_display, background, ytdstatusmonth, exclamation, currentlyhilited, currentlyuptodate, log_display, qarecommendedrange, qacomments, qamodelou, title_yn, target_id, escalate_yn, showsalestax, curradopted_amt, modl_display, modlamt, modelamt, escalated, monthremaining, display_tier2_desc, contract_tooltip, arrow, arrow2, cm_id, gate3_amt from cm where (userid = ? and fk_projid = ?) order by costmanagementid asc
00:00:000 1 00:00:000 Relation select top 61 target_id, target_desc, target_date, datadate, update_date, userid, escalate_amt, proj_id, prevtarget_id, master_projid, formula_id, escalatetype, CRaboveline_yn from TblLookup25TargetDate where target_id = ? order by target_id asc
00:00:000 2 00:00:000 Relation select top 61 tier2_id, tier1_id, tier2_desc, obsolete, sort_order, phase_id, budgetgroup, title_yn, omb_id, milestonegroup, ShowTaxPercent_yn from TblLookup02Tier2 where tier2_id = ? order by tier2_id asc

I was reading through 5.2.7’s notes, and since emergency_yn is a related radio button, I wondered if the below change affected it:

[fix] 359924 RadioChoice build on a related dataprovider can’t be set

So I changed emergency_yn to NOT go through a relationship, still a radio button, and the error about trying to null a not null field ceased. Still a bug in Servoy, I’d say, and probably happening elsewhere where nulls are allowed, but my error is gone…