zap-extensions icon indicating copy to clipboard operation
zap-extensions copied to clipboard

automation: fix contexts npe

Open tuxBurner opened this issue 3 years ago • 2 comments

Hi,

when using multiple contexts in an automation.yaml there is a NPE thrown when adding the user to the context.

This PR makes it nullsafe and works in my setup.

Greetings tuxBurner

tuxBurner avatar Oct 05 '22 07:10 tuxBurner

Thanks, but it looks like this has a lot of unrelated changes. A unit test would also be good, if thats practical.

psiinon avatar Oct 05 '22 07:10 psiinon

The changelog should be updated.

thc202 avatar Oct 05 '22 07:10 thc202

Replaced with https://github.com/zaproxy/zap-extensions/pull/4112

psiinon avatar Oct 12 '22 11:10 psiinon