bugphpGroupWare - Bugs: bug #1985, chora annotate not working

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #1985: chora annotate not working

Submitter:  Invalid User ID <#13790>
Submitted:  Sat 14 Dec 2002 11:54:15 PM UTC
   
 
Category:  chora Item Group:  0.9.14.001 release
Severity:  3 - Normal Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Component Version:  None Operating System:  None
Reproducibility:  Every Time Planned Release:  None
Fixed Release: 

Sat 14 Dec 2002 11:54:15 PM UTC, 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 :)

Invalid User ID <#13790>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code