undoSavePoint

Game development with Board Game Arena Studio
Post Reply
User avatar
giron1950
Posts: 4
Joined: 10 January 2014, 22:47

undoSavePoint

Post 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?
User avatar
Victoria_La
Posts: 665
Joined: 28 December 2015, 20:55

Re: undoSavePoint

Post 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)
User avatar
giron1950
Posts: 4
Joined: 10 January 2014, 22:47

Re: undoSavePoint

Post 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().
Post Reply

Return to “Developers”