-
Notifications
You must be signed in to change notification settings - Fork 93
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
CodebaseResourceDetailsView Page not found for scan_codebase pipeline results #147
Comments
@tdruez, I have been studying this bug for a while now and here are the possible solutions
|
Hi @AvishrantsSh thanks for your input on this one.
Yes that would work, but we also need to remove the prefix in other places such as in
That would work as well, the problem with that approach is that we would keep storing the "codebase/" prefix for all codebase resource in the database to then clean it each time. It would be better to not store it in the first place. Both of your solutions would work fine as workaround but a better approach would be to enhance the VirtualCodebase to offer an API that would return paths without the root. I'll look at it with @pombredanne on the toolkit side. |
Signed-off-by: Thomas Druez <tdruez@nexb.com>
@AvishrantsSh see the fix at 4d46a38 |
Note that this is not an issue for the docker and rootfs pipelines.
Likely related to the codebase/ prefix in the resources path.
The text was updated successfully, but these errors were encountered: