Item1961: Locking does not work when renaming topics

pencil
Priority: Normal
Current State: No Action Required
Released In:
Target Release: n/a
Applies To: Engine
Component:
Branches:
Reported By: SteveLin
Waiting For:
Last Change By: CrawfordCurrie
Foswiki detects when two users are editing the same topic. However, this wasn't implemented properly for the rename function.

Steps to recreate the problem: 1. User 1 clicks the button to rename the topic 2. User 2 edits the same topic 3. User 1 commits the rename 4. User 2 commits the edit changes 5. Two revisions are created for the topic and the content of the wiki page was also corrupted. In my case, some lines were surrounded by delete or insert tags.


That's right. Foswiki locks are advisory only, and you can start an edit on a topic that is "locked". When that happens, and there is a save during your edit (as you describe) then it will merge the changes in the second save with those of the first. The ins/del tags are not corruption, they are markers to show you where the merges happened.

No action.

-- CrawfordCurrie - 20 Sep 2009

ItemTemplate edit

Summary Locking does not work when renaming topics
ReportedBy SteveLin
Codebase 1.0.4
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r2 - 20 Sep 2009, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy