Error when reviewer tries to accept or reject invitation
Dan reported that the email link to accept a reviewer invitation did not work. On my local xPub, I was unable to accept or reject a reviewer invitation in xPub itself. I suspect the culprit is an error in the act of accepting or rejecting an invitation.
To reproduce:
- Submit a manuscript
- Assign editors and invite a reviewer
- Invite a reviewer to the article
- Log in as the reviewer, and click the "Accept" or "Reject" buttons
Expected: the reviewer acceptance or rejection registers properly
Actual: Clicking either "Accept" or "Reject:
- The "Submit Manuscript" button changes to an "Internal Server Error"
- In the console, I get the following error:
18:26:22.419 api.js:49 PATCH http://localhost:3000/api/collections/f8bdf58b-94d3-4072-9fe1-196116e0b728/fragments/2e467eea-a496-4db6-bffe-27f2c0efd7b7 500 (Internal Server Error)
18:26:22.422 error.js:13 Error: Internal Server Error
at eval (api.js:52)
_default @ error.js:13
18:26:22.823 api.js:49 Fetch failed loading: PATCH "http://localhost:3000/api/collections/f8bdf58b-94d3-4072-9fe1-196116e0b728/fragments/2e467eea-a496-4db6-bffe-27f2c0efd7b7".