create new tag
, view all tags

Bug: Error when trying to remove a lock on a rcs file

In lib/TWiki/Store/RcsWrap.pm , in the sub _ci, there is a variable $cmd in which is stored the commands to be run and it's used for far too many things.

Test case

First, it's assigned the $self->{"ciCmd"} , which is then fiddled with so that the arguments are right, it's then executed.

If the lock was wrongly set, it then put $self->{"breakLockCmd"} in $cmd and executes it, so that there is no more lock to the file.

Then, it executes $cmd again thinking that, well, it still has the first command, but, well, it's a bit not really true, since it's been assigned something else.

The patch of the diff is at http://p.mat.cc/p

-- MathieuArnold - 09 Feb 2005


TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: FreeBSD
Web server: Apache 2
Perl version: 5.8.6
Client OS: whatever
Web Browser: too

-- MathieuArnold - 09 Feb 2005

Follow up

Thanks Matt, this is a known issue and has been fixed, though not retro-fitted to Cairo release. It should not be a problem in future releases.

-- CrawfordCurrie - 10 Feb 2005

Fix record

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2005-02-13 - SamHasler
  • 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.