Copy button on a Dag run's config copies only one run config #36848
Labels
affected_version:2.8
Issues Reported for 2.8
area:UI
Related to UI/UX. For Frontend Developers.
good first issue
kind:bug
This is a clearly a bug
Apache Airflow version
2.8.0
If "Other Airflow 2 version" selected, which one?
No response
What happened?
Hi, I believe I hit a case where the run config that's exported when we click "Copy" does not seem to be updated when we switch from one run to another in the UI.
The copied json of the run config is always the same.
What you think should happen instead?
I believe the content of the copy should match the right run, and be updated as we switch runs.
Little bit of a clue: being on one run view, if I refresh the page, then I can copy the right json.
How to reproduce
Have this DAG for instance:
Now in the UI:
["a", "b", "c"]
then a second run with["d", "e", "f"]
.{"list_of_strings": ["d", "e", "f"]}
{"list_of_strings": ["d", "e", "f"]}
instead of{"list_of_strings": ["a", "b", "c"]}
which matches the currently opened run.Tested in 2.8.0 and 2.7.3.
Let me know you need more details or if there's anything I should do differently. I could not find a matching existing issue, but feel free to close if there's one.
Thank you!
Operating System
Airflow on Kubernetes
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: