Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: It should not be possible to create queues with empty names #2120

Closed
1 task done
manast opened this issue Aug 7, 2023 · 1 comment
Closed
1 task done

[Bug]: It should not be possible to create queues with empty names #2120

manast opened this issue Aug 7, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@manast
Copy link
Contributor

manast commented Aug 7, 2023

Version

Any

Platform

NodeJS

What happened?

It is currently possible to create Queues with an empty string as a name, which most likely is due to some bug in the user's code. Furthermore an empty named Queue creates issues in dashboards such as Taskforce.sh.

How to reproduce.

Just create a Queue with an empty name:

const myQueue = new Queue("", { connection });

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@manast manast added the bug Something isn't working label Aug 7, 2023
@manast
Copy link
Contributor Author

manast commented Aug 7, 2023

I would expect an exception thrown in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants