phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [Bug #1985] chora annotate not working


From: nobody
Subject: [Phpgroupware-tracker] [Bug #1985] chora annotate not working
Date: Sat, 14 Dec 2002 18:54:15 -0500

=================== BUG #1985: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1985&group_id=509

Submitted by: rolfy                     Project: phpGroupWare                   
Submitted on: 2002-Dec-14 23:54
Category:  chora                        Bug Group:  0.9.14.001 release          
Severity:  5 - Major                    Priority:  Normal                       
Resolution:  None                       Assigned to:  None                      
Status:  Open                           Component Version:  None                
Platform Version:  None                 Reproducibility:  Every Time            

Summary:  chora annotate not working

Original Submission:  I ran into a little trouble with the annotate module, and 
had a look in the source.
It appears that using the settings I had (which were pretty much default) it 
would
not work...

I had my cvsroot set to /home/cvs, and was doing an annotate on a script that I 
had
in my scripts module, and was getting exceptions about the root being wrong. It
turned out that there was an extra '/' going into the path, so it ended up 
trying to
look at /home/cvs//scripts/blah... The offending line was:
$fl = new CVSLib_File($CVS, $CVS->cvsRoot() . '/' . $where);
it turns out that $where is "/scripts/blah...", so obviously the fix for me was:
$fl = new CVSLib_File($CVS, $CVS->cvsRoot() . $where);
(line 20 of annotate.php)

Obviously this will still have problems if I was to change my cvsroot to 
/home/cvs/,
but I figure that these types of cases will be looked after further down the
development path :) I would fix that, but I don't really know php... I am 
looking
at learning it, but not in the next few weeks at least, so I thought if I let 
you
know this now, then I won't forget :)




No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1985&group_id=509



reply via email to

[Prev in Thread] Current Thread [Next in Thread]