Fix recipient handling in create_notification method#13548
Fix recipient handling in create_notification method#13548mtesauro merged 4 commits intoDefectDojo:bugfixfrom
Conversation
Maffooch
left a comment
There was a problem hiding this comment.
Please base your changes against the dev or bugfix branch
|
@dorkdiaries9 Thanks for the PR. Does it fix an actual bug or is it more defensive/optimization. I haven't looked at the code, but I wonder where this notification for 0 recipients is triggered. |
Thanks for reviewing! |
Summary
Adds a defensive check in
create_notification()to skip processing whenrecipientsis provided but empty.Details
_process_recipients()Testing
Validated that:
Type of Change