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

Restoring ticket may create inconsistency in DB #3383

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

btry
Copy link
Collaborator

@btry btry commented Oct 3, 2023

Changes description

When a form generates several tickets, the requester cancels one of them, then the admin restores it, the plugin creates a duplicate entry in issues table.

This breaks requester's access to the generated tickets.

Checklist

Please check if your PR fulfills the following specifications:

  • Tests for the changes have been added
  • Docs have been added/updated

References

Closes #3359

@btry btry added the bug label Oct 3, 2023
@btry btry added this to the 2.13.8 milestone Oct 3, 2023
@btry btry force-pushed the bugfix/3359_restore_ticket branch from 43fa07d to 7adfb46 Compare October 3, 2023 06:16
@btry btry force-pushed the bugfix/3359_restore_ticket branch from 7adfb46 to 9f5bb84 Compare October 3, 2023 06:22
@btry btry merged commit 3cf3e4e into pluginsGLPI:support/2.13.0 Oct 10, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant