romsharon98 commented on issue #41098:
URL: https://github.com/apache/airflow/issues/41098#issuecomment-2257551440

   First of all, your task doesn't enter deferred mode because of this 
statement `if xcom_content is not None or xcom_content != "" or xcom_content != 
"None"` . After changing it to `if xcom_content is not None` , I was able to 
reproduce the issue.
   
   Here is the relevant part of the code that should handle this. Perhaps you 
could take a look and try to fix it.
   
   
https://github.com/apache/airflow/blob/8a1b84dc54b403985e64a9cdb88e9731e83c8b39/airflow/models/taskinstance.py#L3046-L3047


-- 
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