Auto Enter changes are lost

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

Auto Enter changes are lost

Postby martinh » Thu Oct 22, 2009 9:46 am

Hi,

We noticed the following situation:

Computer 1 (a MAC) is making changes in a data provider. The Auto Enter values are changed
Computer 1 is commiting these changes

Computer 2 (a Windows) is doing a synchronize and retrieves the just commited changes made on computer 1. With an update these changes are saved in the workspace of computer 2

Now both Computer 1 and computer 2 close their development

Application Server is restarted

One of the computers starts developer again and do a synchronize.

Auto Enter changes are lost! There are not visible in the remote file.

How can this be possible?

It looks like when computer 2 is committing that the COMMIT TRANSACTION is not done. When Computer 2 does sync, then it looks that a dirty read is done and that uncommited changes are seen.
But because of the restart of the AS and/or closing of developer 1, the current transaction is rollbacked.
Does this make any sense?

We are using Servoy 4.1.4 as TeamProvider.

Anyone has an idea?

By the way another difference has been noticed.
When using a GlobalMethodConverter then

converterName:"GlobalMethodConverter",
converterProperties:"#\r\n#Thu Oct 22 08:42:02 GMT+01:00 2009\r\nfromObjectMethodName=sys_uppercase\r\ntoObjectMethodName=sys_uppercase",


When created on Windows there is \r\n and when created on Mac there is only \r

Can this also be a problem?


Martin
Martin
------------------------------------------------
Servoy Developer
Version 5.2.10/5.2.13
Java version 1.6 update 31
Database SQL Server 2008 R2
martinh
 
Posts: 857
Joined: Wed May 09, 2007 5:34 pm
Location: Belgium

Re: Auto Enter changes are lost

Postby Andrei Costescu » Thu Nov 12, 2009 5:20 pm

The converter should not be a problem (for functionality) - just if you edit it on once on Win and once on Mac then you see them different until you choose to keep one. It will be changed so that it uses only \r in next Servoy versions.

About the other problem. Are you using a Servoy Application Server as team provider for 2 Servoy Developer instances that have (both of them) startAsTeamProvider set to false? If not, what is the exact setup?
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm

Re: Auto Enter changes are lost

Postby martinh » Thu Nov 12, 2009 11:37 pm

Andrei Costescu wrote:About the other problem. Are you using a Servoy Application Server as team provider for 2 Servoy Developer instances that have (both of them) startAsTeamProvider set to false?


Both have startAsTeamProvider set to false
Even the repository server is disabled as database server to be sure that there are no unexpected local repository updates.
I have to do serveral time 'Mark as merged, commit, synchronize' to obtain finally these settings written in the repository
Martin
------------------------------------------------
Servoy Developer
Version 5.2.10/5.2.13
Java version 1.6 update 31
Database SQL Server 2008 R2
martinh
 
Posts: 857
Joined: Wed May 09, 2007 5:34 pm
Location: Belgium

Re: Auto Enter changes are lost

Postby Gabi Boros » Fri Nov 13, 2009 11:30 am

hi Martin,

- did you see errors in the log file ?
- is the problem reproduceable ? what type of db is the repository ? what type of "auto enter" is lost ?
Gabi Boros
Servoy
Gabi Boros
 
Posts: 402
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 3 guests