Skip to content
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

UI: Browsing to an application from the search box on another application's page has incorrect URL path #21730

Open
3 tasks done
mikedougherty opened this issue Jan 31, 2025 · 2 comments
Labels
bug Something isn't working component:ui User interfaces bugs and enhancements

Comments

@mikedougherty
Copy link
Contributor

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

Describe the bug

User is directed to a unpopulated application page when clicking on a search result from the search bar on another Application's page.

We upgraded from v2.13.3 to v2.13.4 yesterday and began seeing this behavior, so I believe a change in this diff introduced the issue. #21377 seems to be most relevant.

To Reproduce

  1. Browse to an application's page, for example /applications/prometheus
  2. Enter some text that matches another application name in the search bar at the top of the page and click the matching application, for example grafana
  3. Observe the unpopulated UI, and observe that the browser has been sent to URL with path component /applications/applications/argocd/grafana (note the doubled applications tokens).

Expected behavior

The user should be directed to e.g., /applications/argocd/grafana instead of /applications/applications/argocd/grafana.

Screenshots

Version

at 12:28:38 $ argocd version
argocd: v2.13.4+102853d
  BuildDate: 2025-01-29T21:12:42Z
  GitCommit: 102853d31a22e2031ad76bdc0b673d61c7c2cd89
  GitTreeState: clean
  GoVersion: go1.22.11
  Compiler: gc
  Platform: darwin/arm64
WARN[0001] Failed to invoke grpc call. Use flag --grpc-web in grpc calls. To avoid this warning message, use flag --grpc-web.
argocd-server: v2.13.4+102853d
  BuildDate: 2025-01-29T20:28:11Z
  GitCommit: 102853d31a22e2031ad76bdc0b673d61c7c2cd89
  GitTreeState: clean
  GoVersion: go1.23.1
  Compiler: gc
  Platform: linux/amd64
  Kustomize Version: could not get kustomize version: exec: "kustomize": executable file not found in $PATH
  Helm Version: v3.16.2+g13654a5
  Kubectl Version: v0.31.0
  Jsonnet Version: v0.20.0
@mikedougherty mikedougherty added the bug Something isn't working label Jan 31, 2025
@crenshaw-dev
Copy link
Member

Saw this internally too. This might be one to look at: https://github.com/argoproj/argo-cd/pull/21377/files

@amit-o
Copy link
Contributor

amit-o commented Feb 2, 2025

Opened #21737

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component:ui User interfaces bugs and enhancements
Projects
None yet
Development

No branches or pull requests

4 participants