-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Description
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
Since the migration to ArgoCD 3.1 (3.1.1), the UI crashes when we try to display an Application belonging to an ApplicationSet where the ProgressiveSync is enabled.
It seems to come from this line of code:
https://github.com/argoproj/argo-cd/blob/master/ui/src/app/applications/components/application-status-panel/application-status-panel.tsx#L107
The variable here being undefined:
https://github.com/argoproj/argo-cd/blob/master/ui/src/app/applications/components/application-status-panel/application-status-panel.tsx#L98
And would be introduced by 9675487
When looking at my ApplicationSet, I don't have an applicationStatus
field under status
.
status:
conditions:
- ...
resources:
- group: argoproj.io
version: v1alpha1
kind: Application
namespace: argocd
name: myapp
status: synced
health:
status: Healthy
When trying to display the Application deploying the ApplicationSet (to check its status), the UI page is empty, without any error.
To Reproduce
- Activate the progressive Sync in the appset:
strategy:
type: RollingSync
Expected behavior
The Application is correctly displayed
Version
3.1.1
Logs
TypeError: Cannot read properties of undefined (reading 'status')