Want to take part in these discussions? Sign in if you have an account, or apply for one below
Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
I am about to deploy an attempted fix for the bug we have seen where edits are sometimes lost when a validation error occurs. Some disruption may temporarily be experienced when editing; please save all edits before submitting. I will update when done.
All should be fine now. In particular, one should never lose an edit or page creation now if a validation error occurs.
For those interested, the old bug here was that it was attempted to pass in the new edit as a query parameter in the URL. This did not work if the new edit was over a certain size. Now, for some bizarre reason, one of the developers of Instiki (I do not know, and it doesn’t matter, who) realised this (there was a comment in the source code), but decided not fix it properly, but instead just return the old page content.
The way it works now is that the last submitted edit is saved, and a boolean query parameter is passed indicating whether or not the edit failed; if it did fail, the saved edit is put in the edit pane.
There is a possibility of a race condition occurring, but given Instiki’s locking functionality this should only occur in exceedingly rare circumstances, so that I don’t think it is worth addressing, for now at least.
Maybe this, though, is an opportunity to say that I would recommend to always save a non-trivial edit before submitting. Even with the best designed web application in the world, there is always the possibility that someone will pull the plug on your internet connection, or that some other unforeseen event occurs. Adding some kind of draft functionality to the nLab would mitigate this to some extent, but never completely.
This is not a criticism, but I’m amused that in #2 you noted that some other past developer noticed a bug but didn’t fix it, and then in your last paragraph noticed another potential bug yourself but didn’t fix it. (-:
1 to 5 of 5