Page 1 of 1

undoSavePoint

Posted: 13 September 2025, 19:55
by giron1950
J'ai enlevé des champs dans une des table de la BD et depuis ce temps, même après avoir démarré une nouvelle partie le "undoSavePoint" continue d'utiliser les champs enlevés. J'ai vérifié la BD et les 2 tables (l'original et la version zz) sont sans les champs enlevés. Dois-je faire une action particulière suite à ce changement?

Re: undoSavePoint

Posted: 16 September 2025, 23:06
by Victoria_La
Yeah its some sort of bug, you have removed a column you may have to remove it manually from zz tables also.
The framework suppose to do this if you use proper prefix methods but it did not work for me either. I had to do some ugly hacks to catch exceptions from doUndoSavePoint to at least unblock the games (but I was adding a column)

Re: undoSavePoint

Posted: 17 September 2025, 22:38
by giron1950
Thank you for you comments on this problem. Both the zz table and the associated table don't have the deleted columns. But for some reason the "undosavepoint()" generates an "insert" statement using the deleted columns. How can I find a wait out of this. The only solution I have is not to use the undosavepoint().