Item1961: Locking does not work when renaming topics
Priority: Normal
Current State: No Action Required
Released In:
Target Release: n/a
Applies To: Engine
Component:
Branches:
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