[pmwiki-users] Big Bug with Preview

Patrick R. Michaud pmichaud at pobox.com
Fri Mar 11 10:11:38 CST 2005


On Thu, Mar 10, 2005 at 06:43:04AM +0100, Philippe Krait wrote:
>    Hello,
> 
>    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:
> 
>    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 >>>>>>>. (View changes)
> 
>    But the "text below" DOES NOT EXIST! The editing box is desperately empty
>    every time...

What server OS are you running on?  If it's Windows, it's likely
that PmWiki is unable to find the 'diff3' program that is needed to
perform the merge.  I thought that I had written PmWiki to be able
to handle the case where merge wasn't available in the OS, but I don't 
have an easy way to test this (all of my servers are unix-based).

>    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...

Can you reproduce it on pmwiki.org?

Pm



More information about the pmwiki-users mailing list