Closed rpaw053 closed 5 years ago
Done changes. (Github: https://github.com/Royal-Society-of-New-Zealand/NZ-ORCID-Hub/pull/742 )
by rpaw053
Hub was not able to find the user from viewmembers page (i.e. incorrect record retrieval condition for the user belonging to multiple organisation). I have temporarily fixed it in prod and will be properly pushing it in next merges.
Another issue that was discovered is to handle the exception on viewmembers page for a user who has an expired token.
by rpaw053
Example is of a user in the production Hub with a token from the Society and another from their home organisation.
When the Society attempts to view their record under https://orcidhub.org.nz/admin/viewmembers/ the Hub is warning:
> Warning! ORCID HUB doent have data related to this researcher
The Society token at least is good as shown by a cURL, so not clear why this is failing
[ORCIDHUB-491] created by jgus614