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

Handle tickets with same ID #144

Open
aesteve-rh opened this issue Oct 6, 2022 · 1 comment
Open

Handle tickets with same ID #144

aesteve-rh opened this issue Oct 6, 2022 · 1 comment
Labels
bug Issue is a bug or fix for a bug

Comments

@aesteve-rh
Copy link
Member

Adding a ticket with same ID as a currently active ticket is not handled correctly. It just overwrites the labels from the previous ticket without any warning message. Also, it may lead to inconsistent data as we can find remains of the old ticket that are not overwritten in the new one, and end up with a mix of both tickets, which is wrong behaviour.

Ideally, we should log a warning, remove the old ticket, and store the new one.

@aesteve-rh aesteve-rh added the bug Issue is a bug or fix for a bug label Oct 6, 2022
@nirs
Copy link
Member

nirs commented Oct 6, 2022

Or simply fail if a ticket exists. Current clients never add a ticket twice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is a bug or fix for a bug
Projects
None yet
Development

No branches or pull requests

2 participants