Assigning delayable variable to another variable breaks delayable
Module
The name of the module that has a bug.
job_queue
Describe the bug
A clear and concise description of what the bug is.
Doesn't work
job = self.delayable()._action(state).set(description=description)
job2 = job
job.delay()
This creates a task for example sale.order(180489,).__len__() while it should created a task sale.order(180489,)._action(state).
Does work
job = self.delayable()._action(state).set(description=description)
job.delay()
To Reproduce
Affected versions:
Steps to reproduce the behavior: See snippet above
Expected behavior
Assigning delayable object to intermediary variables should be possible.
Additional context Add any other context about the problem here. (e.g. OS, Python version, ...)
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.