Open
Description
If we invite a user by email who is not registered at Topcoder and after we use admin user to accept
such an invitation. The invitation would be marked as accepted
but the member
record for the user would not be created as the user is not registered at Topcoder yet.
In the code:
- In this line we change status of the invitation to
accepted
https://github.com/topcoder-platform/tc-project-service/blob/hotfix/project-search-sql/src/routes/projectMemberInvites/update.js#L91 - And after the query to add a member would fail https://github.com/topcoder-platform/tc-project-service/blob/hotfix/project-search-sql/src/routes/projectMemberInvites/update.js#L134
Note, that the endpoint itself would return an error, but the invitation would already be marked as accepted.