Item9122: we display a terminal fail if rcs file is corrupted /or rcs has other issues

Priority: Enhancement
Current State: Proposal Required
Released In: n/a
Target Release: minor
Applies To: Extension
Component: RCSStoreContrib
Reported By: SvenDowideit
Waiting For:
Last Change By: CrawfordCurrie
I (somehow) have a situation where some random (it looks like a non-trivial set) of ,v files have become corrupted over the 10 years that this wiki has been running.

i just updated my trunk co, and turned on cacheing, and suddenly I get

Foswiki detected an internal error - please check your Foswiki logs and webserver logs for more information.

exec of path  -h %FILENAME|F% failed: No such file or directory

foswiki used to cope better with this kind of corruption - as the .txt file is ok enough. so I'm thinking we need to do 2 things - put a try catch around the issue (the rlog) and raise a BROADCASTMESSAGE (and possibly deny edit?) - that way users are able to view what may be important data, but also are encouraged to get their admin to fix things.

-- SvenDowideit - 08 Jun 2010

additional interesting thing - the dreamhost server I'm on removed rcs - so the rlog was failing there - again, some thing we should toss an exception for and raise as a clean error - without needing to compromise users' ability to view important info.

and on that note, i'll push this to 2.0 and contemplate a feature request..

-- SvenDowideit - 08 Jun 2010


ItemTemplate edit

Summary we display a terminal fail if rcs file is corrupted /or rcs has other issues
ReportedBy SvenDowideit
Codebase trunk
SVN Range
AppliesTo Extension
Component RCSStoreContrib
Priority Enhancement
CurrentState Proposal Required
TargetRelease minor
ReleasedIn n/a
Topic revision: r3 - 20 Jun 2015, 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