MatrixManAtYrService opened a new issue #18662:
URL: https://github.com/apache/airflow/issues/18662


   ### Apache Airflow version
   
   2.2.0b2 (beta snapshot)
   
   ### Operating System
   
   debian (docker)
   
   ### Versions of Apache Airflow Providers
   
   n/a
   
   ### Deployment
   
   Astronomer
   
   ### Deployment details
   
   `astro dev start`
   
   Dockerfile:
   ```
   FROM quay.io/astronomer/ap-airflow-dev:2.2.0-buster-44417
   ```
   
   dag:
   https://gist.github.com/MatrixManAtYrService/a3ee53dab27edf8249d0ff0dfd11c76e
   
![output](https://user-images.githubusercontent.com/5834582/135555462-e129eaa3-a24c-4c5f-8e29-534fca10b987.png)
   
   The image above was generated with the command:
   ```
   airflow dags show structure_hash | grep digraph -A999 | dot -Tpng  > 
output.png
   ```
   
   
   ### What happened
   
   I have other DAGs with task groups, and they expand/collapse just fine, but 
this one refuses to expand when I click its blue box.
   
   <img width="978" alt="Screen Shot 2021-09-30 at 8 22 35 PM" 
src="https://user-images.githubusercontent.com/5834582/135555917-b2baa60e-f3bf-4dc1-bffb-6ea6b18d59b6.png";>
   
   Instead my browser's js console shows an error:
   ```
   Uncaught SyntaxError: Invalid or unexpected token
   dagre-d3.min.js:1642 Uncaught TypeError: Cannot convert undefined or null to 
object
       at Graph._removeFromParentsChildList (dagre-d3.min.js:1642)
       at Graph.setParent (dagre-d3.min.js:1642)
       at graph.d7b2753a50a36b9c46ed.js:1485
       at Array.forEach (<anonymous>)
       at expandGroup (graph.d7b2753a50a36b9c46ed.js:1470)
       at SVGGElement.<anonymous> (graph.d7b2753a50a36b9c46ed.js:1044)
       at SVGGElement.__onclick (d3.min.js:1)
   ```
   
   ### What you expected to happen
   
   The blue boxen expand when clicked, ultimately exposing the structure show 
in the **Deployment Details** section.
   
   ### How to reproduce
   
   Load the dag mentioned above, navigate to its graph view, try to expand the 
task groups
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to