Servoy 7.2 rc

Release notes for Servoy betas

Servoy 7.2 rc

Postby Jan Blok » Fri Jul 05, 2013 4:58 pm

We are pleased to announce the availability of Servoy 7.2 release candidate (releaseNumber 2012).

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.

Read all about how to install Servoy mobile, run the sample and possibilities at:
http://wiki.servoy.com/display/public/M ... bile+7.x.x

For discussion about the new mobile client see the dedicated mobile forum:
viewforum.php?f=67

Regular Servoy 7 docs can be found at:
http://wiki.servoy.com/display/public/DOCS/Servoy+7.x.x

The issues addressed, since 7.1 and upcomming Servoy 6.1.6 release:

Client changes
[fix] SVY-4474 documentation on deprecated "currentcontroller"
[fix] SVY-4699 foundset.sort(function) throws a "couldn't sort..."-error even though it is just in-memory
[fix] SVY-4649 Tooltip text and rolloverimage in the wc do not show if you don't have a image
[fix] SVY-4588 ListBox ondatachange and onaction do not function like the smart client.
[fix] SVY-4499 ValueList formatting a integer field to display
[fix] SVY-4469 Listview scrolling problem when editing in the header
[fix] SVY-4414 element.myLabel.imageURL returns a NULL
[fix] SVY-4297 UI Converter not applied to calculations

Mobile client changes
[enh] SVY-4409 mobile master/detail as initial tablet support, utilizing navigator form property
[enh] SVY-4155 javascript types like JSHeader for mobile solutionModel
[enh] SVY-4683 Introduce a solution type 'Mobile Shared Module' so that the service solutions "knows" what relations really belong to the mobile solution
[enh] SVY-4580 Calendar field support for "date", "time" and "datetime"
[enh] SVY-4243 Call backs for success and failure on mobile plugin syncData method
[fix] SVY-4541 phonegap.js not included when targeting native mobile app, and phonegap build config is customizable in mobile exporter
:!: Note on SVY-4541: this allows the mobile client to use all phonegap api features!
[fix] SVY-4750 All edited columns are saved during a sync, not only the the changed columns
:!: Note on SVY-4750: its important to understand developers can no longer expect the mobile client to send all column to your REST service solution! (you might need some "exisitence" checks on the pushed content)

Developer changes
[enh] SVY-4432 Enable auto update check eclipse notification in Servoy Developer
[enh] SVY-4279 Support for high resolution displays (ie. Mac Retina)
[fix] SVY-4518 Formatting cannot be reset correctly.
[fix] SVY-4511 add a column in a table
[fix] SVY-4501 Auto Enter Servoy seq Not able to change initial next value
[fix] SVY-4478 Unattended installation of 7.1 server fails on Linux
[fix] SVY-4283 When running Servoy tests from ServoyJSUnitTestRunner print the js file names of the failing tests

Server changes
[fix] SVY-4319 Javascript error "TypeError: element is null" in wicket-event.jar when opening some dialogs.
[fix] SVY-4262 Issues in the new tool for running Servoy tests in a continuous integration server

Plugins changes
[fix] SVY-4510 When unchecking checkbox of child node in DBTreeView, icon change does not go through until clicking the text of another node in the tree.
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Re: Servoy 7.2 rc

Postby Peter de Groot » Sat Jul 06, 2013 10:13 am

Great thanks for the release, the double scroll bar and setSelectedIndex() are fixed for the WC :D but I have elements that prefixed with sv_ and this gives the following error,
error.png
error.png (10.85 KiB) Viewed 22878 times


Regards,

Peter
User avatar
Peter de Groot
 
Posts: 215
Joined: Thu Jan 10, 2008 8:38 pm
Location: Not sure...

Re: Servoy 7.2 rc

Postby Peter de Groot » Sat Jul 06, 2013 11:13 am

Servoy Webclient Listview,

When I do controller.setSelectedIndex(40) I get an "Internal Error" when the 40th record
has not been shown/rendered first. If I scroll to the last record in the list then go back
to the first record and do controller.setSelectedIndex(40) there's no error.

The server log shows:
java.lang.ArrayIndexOutOfBoundsException: 39
at org.apache.wicket.MarkupContainer.children_get(MarkupContainer.java:1113)
at org.apache.wicket.MarkupContainer.children_get(MarkupContainer.java:1052)
at org.apache.wicket.MarkupContainer.get(MarkupContainer.java:1042)
at com.servoy.j2db.server.headlessclient.dataui.WebCellBasedView$ScrollBehavior.scrollViewPort(WebCellBasedView.java:5118)
at com.servoy.j2db.server.headlessclient.dataui.WebCellBasedView.scrollViewPort(WebCellBasedView.java:4966)
at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor.generateResponse(WebEventExecutor.java:784)
at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor.onEvent(WebEventExecutor.java:405)
at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor.onEvent(WebEventExecutor.java:375)
at com.servoy.j2db.server.headlessclient.MainPage.respond(MainPage.java:2151)
at com.servoy.j2db.server.headlessclient.PageContributor$EventCallbackBehavior.respond(PageContributor.java:460)
at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:312)
at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157)
at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1279)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1358)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1465)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
at com.servoy.j2db.server.servlets.Zt.doGet(Zt.java:5)
at org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)

Regards,

Peter
User avatar
Peter de Groot
 
Posts: 215
Joined: Thu Jan 10, 2008 8:38 pm
Location: Not sure...

Smart and Web Client buttons disabled after updating to 7.2r

Postby rioba » Sun Jul 07, 2013 11:11 am

After updating to 7.2rc through auto-update both the SmartClient and WebClient start buttons in Servoy Developer are disabled

Mac OS X 10.8.4
iMac 3.1 Ghz Core i5
12 GB 1333MHz DDR3
java.runtime.version=1.6.0_51-b11-456-11M4508
rioba
 
Posts: 242
Joined: Mon Aug 08, 2005 4:26 pm

Re: Smart and Web Client buttons disabled after updating to

Postby rgansevles » Mon Jul 08, 2013 8:55 am

rioba wrote:After updating to 7.2rc through auto-update both the SmartClient and WebClient start buttons in Servoy Developer are disabled

Mac OS X 10.8.4
iMac 3.1 Ghz Core i5
12 GB 1333MHz DDR3
java.runtime.version=1.6.0_51-b11-456-11M4508


Rioba,

What is the solution type of the main active solution?
The smart client can only be started for normal and smart-client-only solutions.

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1929
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Smart and Web Client buttons disabled after updating to

Postby rioba » Mon Jul 08, 2013 9:10 am

What is the solution type of the main active solution?
The smart client can only be started for normal and smart-client-only solutions.

Hi Rob,

The solution type is module. But it always worked up to version 7.1. And besides that, both web and smart clients buttons are greyed.
rioba
 
Posts: 242
Joined: Mon Aug 08, 2005 4:26 pm

Re: Smart and Web Client buttons disabled after updating to

Postby rgansevles » Mon Jul 08, 2013 9:16 am

rioba wrote:Hi Rob,

The solution type is module. But it always worked up to version 7.1. And besides that, both web and smart clients buttons are greyed.
.

A module is not supposed to run as a standalone client, that is why changed the start-client buttons.

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1929
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Smart and Web Client buttons disabled after updating to

Postby rioba » Mon Jul 08, 2013 9:24 am

rgansevles wrote:A module is not supposed to run as a standalone client, that is why changed the start-client buttons.
.
So this is new. Because until now the buttons worked across all versions of Servoy
rioba
 
Posts: 242
Joined: Mon Aug 08, 2005 4:26 pm

Re: Servoy 7.2 rc

Postby rgansevles » Mon Jul 08, 2013 9:26 am

Peter de Groot wrote: I have elements that prefixed with sv_ and this gives the following error,
error.png


Regards,

Peter


Peter,

In mobile, elements starting with this prefix may clash with servoy-generated code.
We added this check for all client types in case you want to port some existing code to mobile.

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1929
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Smart and Web Client buttons disabled after updating to

Postby ROCLASI » Mon Jul 08, 2013 9:59 am

Hi Rob,
rgansevles wrote:A module is not supposed to run as a standalone client, that is why changed the start-client buttons.


How do you expect us to debug batch-processors or any headless client that is not a Smart-/Web-client solution?
True, I haven't had the time to really look at 7.2rc yet. Perhaps there are other ways in this release to do that, if not then this is a serious breakage of existing functionality.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Smart and Web Client buttons disabled after updating to

Postby rgansevles » Mon Jul 08, 2013 10:42 am

ROCLASI wrote:How do you expect us to debug batch-processors or any headless client that is not a Smart-/Web-client solution?
True, I haven't had the time to really look at 7.2rc yet. Perhaps there are other ways in this release to do that, if not then this is a serious breakage of existing functionality.


Ok, we will revert that check for the final.

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1929
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Smart and Web Client buttons disabled after updating to

Postby ROCLASI » Mon Jul 08, 2013 10:52 am

rgansevles wrote:
ROCLASI wrote:How do you expect us to debug batch-processors or any headless client that is not a Smart-/Web-client solution?
True, I haven't had the time to really look at 7.2rc yet. Perhaps there are other ways in this release to do that, if not then this is a serious breakage of existing functionality.


Ok, we will revert that check for the final.

Rob

Thank you.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Smart and Web Client buttons disabled after updating to

Postby rioba » Mon Jul 08, 2013 10:54 am

rgansevles wrote:Ok, we will revert that check for the final.
Rob
Thanks
rioba
 
Posts: 242
Joined: Mon Aug 08, 2005 4:26 pm

Re: Servoy 7.2 rc

Postby Peter de Groot » Mon Jul 08, 2013 10:05 pm

[quote="In mobile, elements starting with this prefix may clash with servoy-generated code.
Rob[/quote]

Ok, thanks for the reply.

Regards,

Peter

Sent from my Nokia 6100 using Tapatalk 2
User avatar
Peter de Groot
 
Posts: 215
Joined: Thu Jan 10, 2008 8:38 pm
Location: Not sure...

Re: Servoy 7.2 rc

Postby [email protected] » Mon Jul 22, 2013 12:31 pm

After installing I encounter the following problems:
1. the property JSForm.allvariables is depricated. It seems it must be replaced everywhere with the method JSForm.getVariables()
2. the variable document hides a property (same for parameter, function etc.). It seems all these has to be changed. Although I cannot find where this property comes from. Is there a reason for this change? Which object is the owner of property 'document'?
Jos Uitenbogaard
Devoon
User avatar
[email protected]
 
Posts: 60
Joined: Tue Oct 25, 2011 11:59 am
Location: Reeuwijk NL


Return to Latest Releases

Who is online

Users browsing this forum: No registered users and 1 guest