stable

Clone or download

Read-only

fix: Fatal error when invitation does not exist

Take a register link with a valid token and replace the id of the invitation by a non existing invitation id. You should not get a fatal error. Part of request #29614: Invited users shouldn't be mandated to re-confirm their email Change-Id: I4c6577270d786a7e72542d0404dd3365632fb36f

Modified Files

Name
M src/common/InviteBuddy/InvitationByTokenRetriever.php +1 −1 Go to diff View file
M src/common/InviteBuddy/InvitationDao.php +5 −1 Go to diff View file
A src/common/InviteBuddy/InvitationNotFoundException.php +27 −0 Go to diff View file
M src/common/User/Account/Register/InvitationToEmailRequestExtractor.php +7 −1 Go to diff View file
M tests/integrations/tests/InviteBuddy/InvitationDaoTest.php +11 −0 Go to diff View file
M tests/unit/common/InviteBuddy/InvitationByTokenRetrieverStub.php +14 −5 Go to diff View file
M tests/unit/common/User/Account/Register/InvitationToEmailRequestExtractorTest.php +20 −0 Go to diff View file