Question
When performing 2 or more edits on the same page, the content in the edit windows shows old content. However
view
does always show the correct content.
Worse, a save on the wrong content inside the edit windows cause loosing previous changes.
Interesting: The topic it self on disk is correct. I suppose thats why
view
still works as well as
raw
does.
It seems that edit somehow uses cached data, but i am confident that there is no mod_perl or speedycgi being used.
See output from testenv (testenv uses the same setting as the edit script and view do):
mod_perl: Not used for this script (mod_perl loaded into Apache)
Also i do not use a proxy server in between.
And:
- a restart of apache does not solve this.
- deleteing the topic on disk shows via edit the old wrong version! (of cause view fails in this case with oops topic not avilable).
However: a reload in the browser within the edit session helps and fixes the problem.
Note: I was unable to reproduce it on twiki.org.
Environment
--
WolfgangAlper - 25 Mar 2005
Answer
We use the latest production release of TWiki on Apache 2.0.52 with speedy cgi.
We have the same problem.
It is caused by our authentication scheme, which uses a temporary redirect.
The redirect loses the URL parameters ....
--
PeterHuisken - 15 Nov 2005
I've the same problem with FF 2 and twiki 4.0.4 as well as with 4.1.2.
Any ideas how to solve this? This is really a critical bug/problem.
--
CarloSchulz - 14 Apr 2008
Got it. You need to expand your edit links with a parameter like this:
<a href='%SCRIPTURL/edit/%BASEWEB%/%BASETOPIC%?t=%GMTIME{"$epoch"}%'>edit</a>
--
CarloSchulz - 14 Apr 2008