Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Debian Sarge
Web server: Apache/1.3.33 (Debian GNU/Linux
Perl version: perl, v5.8.4 built for i386-linux-thread-multi
Client OS: Windows, Linux
Web Browser: Firefox 1.0
Categories: Platform, Hosting, Fatal error

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

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2008-04-14 - CarloSchulz
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.