question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DagRuns page renders the state column with artifacts

See original GitHub issue

Apache Airflow version: 1.10.10

Environment:

Docker image python:3.7-slim.

How to reproduce it:

Navigate to /admin/dagrun/.

Screenshot 2020-05-05 at 15 05 26

Other:

The web server returns HTML that consists of:

<a
	data-csrf=""
	data-pk="1150737"
	data-role="x-editable"
	data-source="[{&#34;text&#34;: &#34;&#34;, &#34;value&#34;: &#34;__None&#34;}, {&#34;text&#34;: &#34;success&#34;, &#34;value&#34;: &#34;success&#34;}, {&#34;text&#34;: &#34;running&#34;, &#34;value&#34;: &#34;running&#34;}, {&#34;text&#34;: &#34;failed&#34;, &#34;value&#34;: &#34;failed&#34;}]"
	data-type="select2"
	data-url="./ajax/update/"
	data-value="<span class="label" style="background-color:green;">success</span>" 
	href="#" 
	id="state" 
	name="state"
>
	<span class="label" style="background-color:green;">success</span>
</a>

Flask-Admin version is 1.5.4. After a brief investigation, the problem seems to be related to using HTML as a value for an editable widget.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
voroninmancommented, May 13, 2020

I am facing the same problem. did you manage to solve this?

No. I haven’t tried really as it’s mostly esthetics.

I believe you can also not set the state on that page. Try changing the state there to running/failed you’ll see it doesn’t update. However, setting the state from other sections does work.

True. I do change the state from other sections.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Release Notes — Airflow Documentation
Previously, a task's log is dynamically rendered from the [core] ... Fix: DagRuns page renders the state column with artifacts in old UI...
Read more >
View DAGs, DAG runs, and tasks | Cloud Composer
To view the history of DAG runs: In the Google Cloud console, go to the Environments page. Go to Environments. In the DAG...
Read more >
apache-airflow Changelog - pyup.io
Add restarting state to TaskState Enum in REST API (26776) ... Fix: DagRuns page renders the state column with artifacts in old UI...
Read more >
apache/airflow 1.10.11 on GitHub - NewReleases.io
... Fix: DagRuns page renders the state column with artifacts in old UI (#9612); Fix task and dag stats on home page (#8865) ......
Read more >
An introduction to the Airflow UI | Astronomer Documentation
The DAGs view is the landing page when you sign in to Airflow. It shows a list of all your DAGs, the status...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found