You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/06/03 11:59:27 UTC

[GitHub] [airflow] tothandor opened a new issue, #24162: Grid JavaScript error on new task added

tothandor opened a new issue, #24162:
URL: https://github.com/apache/airflow/issues/24162

   ### Apache Airflow version
   
   2.3.1 (latest released)
   
   ### What happened
   
   I have added a new task to an existsting workflow (DAG), where the other tasks already had previous runs.
   When I added a new task, the grid did became inaccessible, because it wanted to get `runId`s which do not exist.
   The error occured in the grid.<hash>.js, but since the file is minified/obfuscated, it's unclear for me where exactly.
   
   ### What you think should happen instead
   
   The grid should handle missing `runId` without causing an exception.
   
   ### How to reproduce
   
   1) Create a simple dag, with a few dummy tasks, and let it run a few times. Check out the grid (it should be okay).
   2) After that, add a new dummy task, and check out the grid again. The grid's area will be empty, and the JS console will have the following error: `TypeError: Cannot read properties of null (reading 'runId')`
   
   Probably any other scenarios where the tasks run history is uneven, could also cause this error.
   
   ### Operating System
   
   Linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   _No response_
   
   ### 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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] bbovenzi closed issue #24162: Grid JavaScript error on new task added

Posted by GitBox <gi...@apache.org>.
bbovenzi closed issue #24162: Grid JavaScript error on new task added
URL: https://github.com/apache/airflow/issues/24162


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] bbovenzi commented on issue #24162: Grid JavaScript error on new task added

Posted by GitBox <gi...@apache.org>.
bbovenzi commented on issue #24162:
URL: https://github.com/apache/airflow/issues/24162#issuecomment-1145975320

   Yes, this seems to be a duplicate. I just tried the exact steps in main and it is working as expected. 
   
   Fixed in https://github.com/apache/airflow/pull/23947 for 2.3.2


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] tirkarthi commented on issue #24162: Grid JavaScript error on new task added

Posted by GitBox <gi...@apache.org>.
tirkarthi commented on issue #24162:
URL: https://github.com/apache/airflow/issues/24162#issuecomment-1145893974

   Seems to be same as 
   
   https://github.com/apache/airflow/discussions/23908
   https://github.com/apache/airflow/issues/23933
   
   cc @bbovenzi 


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org