<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
I have hit a really big problem with the preview button. When there are
simultaneous edits and saves, pmwiki does its best to combine the
texts, and that's fine. But when you start editing the text and someone
edits it after you, and you use the "preview button", you get the
following message:<br>
<br>
The page you are editing has been modified since you started editing
it. The modifications have been merged into the text below, you may
want to verify the results of the merge before pressing save. Conflicts
the system couldn't resolve are bracketed by
<<<<<<< and >>>>>>>. (<a
target="_blank"
href="http://127.0.0.1/pmwiki/pmwiki.php?n=Main.WikiSandbox?action=diff">View
changes</a>)<br>
<br>
But the "text below" DOES NOT EXIST! The editing box is desperately
empty every time...<br>
<br>
Although you can "view the changes", the only thing that it gets you is
the history of the changes that the OTHER guy has made.<br>
<br>
But (and this is where the Big Bug) lies, YOU have lost everything that
you typed. Because even if you use "back", you will not find the text
that you typed.<br>
<br>
This is very easy to reproduce. Take the sand box, open it with two
browser windows. Click edit in window 1. Click edit in window 2. Make a
change in window 2. Save in Window 2. Not click preview in window 1.
Voila...<br>
<br>
I understand that there might not be an elegant solution to this with
actual merging, but it is still unacceptable to lose one's work like
this.<br>
<br>
Especially when I encourage people to use "preview", as this avoids one
of my few problems with pmwiki, i.e. the recording of absolutely all
minor changes in the history and recent changes (using preview divides
the number of changes by a factor of at least 2, if not more, as this
allows people to make reasonnably sure that their productions looks
correct before saving it).<br>
<br>
As I said before, there might not be an elegant solution, and maybe it
is impossible to fill the edit box with something relevant. But at
least, please, provide the text that was in the edit box before
clicking "preview". Not in the text box, but below, for example (and
with wiki tags), so that one might cut/paste from it.<br>
<br>
Thanks in advance,<br>
<br>
Philippe<br>
</body>
</html>