You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In our docs, we often link to opengrok files with the revision number, for example: /xref/test/somefile.sql?r=2766bdc195f0ae5daa0756aa64b2cd0c63d9ce32
In the main branch, somefile.sql has been deleted (or more often, moved/renamed). So we always get a "Error: File not found!". However, at that revision, that file does exist. git show 2766bdc195f0ae5daa0756aa64b2cd0c63d9ce32 -- somefile.sql does return a result.
I apologize in advance, I'm 90% sure this bug has been reported somewhere but I just can't find it :(
Environment:
OpenGrok 1.13.17
Tomcat 10.1.26
OpenJdk 11.0.24 (Amazon Corretto)
Amazon Linux 2
To Reproduce
Create a test repo and add a file
Index the repo, and in the UI navigate to that file
Delete the file in step 1 and re-index
Refresh the page
Expected behavior
The web browser shows the file at that revision
The text was updated successfully, but these errors were encountered:
Describe the bug
In our docs, we often link to opengrok files with the revision number, for example:
/xref/test/somefile.sql?r=2766bdc195f0ae5daa0756aa64b2cd0c63d9ce32
In the main branch,
somefile.sql
has been deleted (or more often, moved/renamed). So we always get a "Error: File not found!". However, at that revision, that file does exist.git show 2766bdc195f0ae5daa0756aa64b2cd0c63d9ce32 -- somefile.sql
does return a result.I apologize in advance, I'm 90% sure this bug has been reported somewhere but I just can't find it :(
Environment:
To Reproduce
Expected behavior
The web browser shows the file at that revision
The text was updated successfully, but these errors were encountered: