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

Skip deleted msgs in the messages API endpoints #8429

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

thc202
Copy link
Member

@thc202 thc202 commented Apr 2, 2024

Handle messages that no longer exist when processing the messages for one of the messages API endpoints.
It's possible that from the moment the IDs of the messages were obtained to when the messages are actually read from the DB that they no longer exist (e.g. spider tasks or other temporary messages were deleted in the meantime).


From ZAP User Group: https://groups.google.com/g/zaproxy-users/c/cZlBW9cLazs/m/anCsFNdQAAAJ

Handle messages that no longer exist when processing the messages for
one of the messages API endpoints.
It's possible that from the moment the IDs of the messages were
obtained to when the messages are actually read from the DB that they
no longer exist (e.g. spider tasks or other temporary messages were
deleted in the meantime).

Signed-off-by: thc202 <thc202@gmail.com>
@thc202 thc202 added this to the 2.15.0 milestone Apr 2, 2024
@psiinon psiinon merged commit c584290 into zaproxy:main Apr 2, 2024
10 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 2, 2024
@thc202 thc202 deleted the skip-deleted-msgs branch April 2, 2024 16:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

None yet

3 participants