Hello,
today we had a case where a colleague was working in several methods and quit the application. After lunch his changes were gone!?
Does anyone have an idea under which circumstances this can happen?
Thanks!
Hello,
today we had a case where a colleague was working in several methods and quit the application. After lunch his changes were gone!?
Does anyone have an idea under which circumstances this can happen?
Thanks!
patrick:
Hello,today we had a case where a colleague was working in several methods and quit the application. After lunch his changes were gone!?
Does anyone have an idea under which circumstances this can happen?
Thanks!
Maybe: all the methods open, but no one verified. Exiting the app and ignoring the warnings can cause to loose all the new stuff.
I’ve seen this happen on many occassions.
You’re working in methods, they are verified, but you close Servoy Developer by clicking the X in the top right corner. After you start Developer again, some of the changes are gone.
Haven’t reported it but it happens for sure.
Paul
Servoy Developer
Version R2 2.1.1 Beta1
Java version 1.4.2_04-b05 (Windows XP)
exactly what seems to have happened here. We definetely did not ignore a Save/Ignore warning.
this shouldn’t happen at all.
Can anybody tell me when this happens and what you exactly do?
(for example did you stay in design mode all the time ect?)
Hello Johan,
this is very difficult to say. My colleague says it went like that
It might have been, that one of the methods still had a “compile” error that he might not have resolved before closing Servoy the way described. He is not sure about that, though…
Yes, very difficult to say when it happens.
I had the following situation:
I did a find and replace over multiple methods. I for sure saved it, because I ran the altered code afterwards.
After closing and starting Servoy the chagnes were undone.
I know this is very unspecific to use to debug. When i see it happen again, I’ll post a more detailed workflow.
Paul
Hello,
this just happened again! My colleage says that some changes are gone while others were saved.
He described the following:
He knows that he lost changes of a method “A”. After working on method “A” he created several other methods. Nothing has been lost in these. He switched between design and browse mode several times. But finally, he was in design mode of the form where method “A” sits, when he switched solutions.
He says that method “A” has a version from quite a while ago, maybe even from an older release than the one he is working on the last few days.
Any news on this?
Thanks, Patrick
if we don’t get some hint at when it can (or could) happen so that we can see and test it for ourself. Then this is not something that we can fixe because i have no idea where or how that can happen.
That’s what I always tell my customers, too
We try if we can reproduce that…
This is probably silly but I know one way to reproduce it. Edit a method. Save the method. Force quit Servoy or quite servoy by closing the batch file.
You changes will be lost. I have had this happen many times when changes I made in the developer caused it to freeeze, I have to force quit and start all over again.
John McCann
When terminating the servoy process the repository transaction has no time to commit, in this case last changes are indeed lost.
We found te reason why a script is not always saved, it will be changed in the Servoy 2.2 release(=modules developement)