http://defect.opensolaris.org/bz/show_bug.cgi?id=19197
Summary: FileHistoryCache does not take projects into account
Classification: Development
Product: opengrok
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: NEW
Severity: blocker
Priority: P3
Component: misc
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
When attempting to build a history cache involving projects, there are no
subdirectories representing the projects created as is seen in the
cross-reference area. Consequently, the historycache is corrupted with data
from all the projects. The following changes to the getCachedFile method (@
line 83) will fix the issue so that the proper cache is created and that the
query made in the browser will actually work. Lines marked with 'seh' are the
needed changes.
sb.append("historycache");
try {
String rd =
file.getPath().substring(env.getSourceRootPath().length()); // seh
Project p = Project.getProject( rd ); // seh
if ( p != null ) { // seh
sb.append( p.getPath() ); // seh
} // seh
String add = env.getPathRelativeToSourceRoot(file, 0);
--
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
opengrok-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opengrok-dev