stable

Clone or download

Read-only

request #13099: Webhook at project activation can crash if no administrators has been choosen

If a project is activated without any administrators, the activation crashes. The issue has been observed in production environment on some old, likely corrupted, project. In any case, the crash should not happen. All the other activation steps works fine with the same context. Change-Id: Ie9733a9452e7a5483a92667ed0c48b4d7aa10062

Modified Files

Name
M src/common/Project/Webhook/ProjectCreatedPayload.php +18 −10 Go to diff View file
A tests/phpunit/common/Project/Webhook/ProjectCreatedPayloadTest.php +79 −0 Go to diff View file