This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
FS#1513 Section edit buttons contain REVision information
Section edit buttons have a "rev" hidden variable in their form. This leads to editing old versions if you use the section edit button, while the page edit button would lead to editing the current page.
- user1 opens a page for view
- user2 opens the page and edits it, saves the modifications
- user1 tries to edit a section
- user1 is faced with a conflict
My 2008-05-05 version comes default with Mandriva Linux 2009.0.
Okay the behaviour is clear and reproducible (and unrelated to my messed up devel install I mentioned in IRC).
The revision info is there because section editing is based on character positions, removing the revision info would always open the newest revison but positions of the sections may have changed now. The question is what should be done instead. My idea is this:
When going to section edit mode, check if the given revision number is equal to the most current revision. If yes continue as it works now. If not, skip sectioning and load the whole page (most current) into the editor, displaying an explantion.