[Bug]: FlowProducer#getFlow()
returns undefined
children when colon characters are used in queue names
#2718
Labels
FlowProducer#getFlow()
returns undefined
children when colon characters are used in queue names
#2718
Version
v5.12.9
Platform
NodeJS
What happened?
FlowProducer#getFlow()
returns an array ofundefined
children when descendant jobs passed toFlowProducer#add()
havequeueName
s containing colon (:
) characters.How to reproduce.
It's probably this line:
bullmq/src/classes/flow-producer.ts
Line 419 in c60e6a3
...that's causing the problem.
Splitting/joining by
:
happens in a lot of places so it'd be nice to issue a warning if the user happens to choose a queue name or other identifier that contains a colon and might end up in those places to beware of the consequences.Somewhat similar/related: #1334
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: