-
Notifications
You must be signed in to change notification settings - Fork 779
displaying a file and clicking on Annotate link fails to display annotations #1787
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
do annotations work for other SCMs or just AccuRev ? |
I am not sure what you are asking. Annotations have been implemented for all the Repositories. It is part of the Repository interface. It is supposed to show the 'blame' data on the file page. The problem seems to be somewhere in the generation of the web page, I cannot figure out where this is handled in the .jsp files. The very first time the Annotate link is poked generates the call to the individual Repository interface to get the data. Subsequent selections do nothing more that hide/show (via html class addition/removal). |
Vlad, have you ever used the annotation feature? What I have found in subsequent experiments is that the 'A' link in a directory listing actually displays the annotated file, then the Annotate link on the page will hide/show those annotations. Is that how it works now (or has it always worked this way)? I could have sworn that the Annotate link on the file page actually loaded the annotated file before. |
I use Annotations all the time. Yes, 'A' will display annotated file. Yes, Annotate link will trigger show/hide. If you display a file (not going through the 'A' link) and click on the Annotate link it will show annotations. It always worked like that. |
|
Just tried that on the latest |
Thanks for verifying that I am not losing my marbles/mind :-) So what I am seeing when I put a debugger on this is that the first call to PageConfig.getAnnotation makes its way into the method annotate and it fails to declare 'true' because of the test
(I am going to assume that the parameter 'a' is not present in the request). I have no idea how parameter 'a' was set originally before those changes you mentioned above. |
I have a question about debugging the .jsp/.jspf files. I have noticed that when these files are 'included' the debugger doesn't seem to open them up when I am stepping through code. The Debugging window shows that the process is suspended in the included file and at a specific line, but what is being displayed is the file that is doing the 'including'. (I am using Tomcat) Is there something I need to set up to get this to work properly, that is display the file where the suspension is occuring? |
The difference between link from directory listing and link from file display is that the former contains the Stepping through |
I think I see the problem in
So after the changes for #1736, the |
I am building from the most recent OpenGrok/master. I index a set of files in an AccuRev repository. Using TomCat service to start OpenGrok. After displaying a file, I select the Annotate link for the file, but rewarded with no changes. I have put breakpoints in the AccuRevRepository.getHistory call and see that actual data is being returned, but after that I have not idea where its gone. Has anyone else had this problem recently? It was all working fine about a month ago.
The text was updated successfully, but these errors were encountered: