Question
Hey all. Experiencing a minor problem with rcs in my twiki. From the revision history toolbar on the bottom of the twiki -- comparing two versions of a file works fine, I see the new changes in green, old in red, etc. However, if I click on a particular revision -- say, version 1.12 of a document -- the page that comes back is blank.
Any ideas? It looks like rcs is working ok, as I can diff versions fine, and get a complete history of changes ok as well. Looked at the .txt,v files and saw that the revisions are collecting just fine.
A second small prob I've noticed is revision history on files. Perhaps this is by design, but, if I upload a few versions of a file, and then view the each version of the file on the file-manage page, all the versions are identical.
thx!
Lyle
Environment
--
LyleHayhurst - 06 Oct 2004
Answer
Ok, I answered my own question. The problem was in the RcsWrap.pm module.
Line 364 if( $tmpfile
and -e $tmpfile ) {
The problem was that the $tmpfile wasn't being created. So simply adding a check to make sure that it exists solved the problem.
Lyle
--
LyleHayhurst - 23 Nov 2004
Thanks for the update, Lyle. Is your solution a fix for your first or your second problem?
--
MartinCleaver - 24 Nov 2004
Hey Martin, sorry, should have been more clear; this is a fix for the first problem (selecting versions from the revision history toolbar returning empty pages ).
--Lyle
Same Problem, Solution not Obvious
I am having the same issue as Lyle, but when I tried to apply his fix, I couldn't find the line he mentioned in my RcsWrap.pm, either at the line number, or by searching for the expression. My environment is a bit different, but I'm using the same Twiki release. The problem is identical: I can see revision history, but when I click on the r.1.x link in a page, I just get a blank page with the footer and Edit and Attach crossed out.
Environment
I have configured Twiki according to the
WindowsInstallCookbook, and added domain authentication per the
WindowsInstallModNTLM, as well as applying the ntlm-username patch from
LoginNameAndNtlm.
Any ideas would be appreciated.
--
MaxGrant - 03 Dec 2004
Max, I just checked RcsWrap.pm; its in the getRevision() method of that module. Please doublecheck at let me know? If you like, email me your copy of
RcsWrap to
s o z i n s k y at g m a i l dot c o m
s/\s+//g, s/at/@, s/dot/\.
--Lyle