Auto Enter changes are lost

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

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:
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

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 ?