fix(profile): inaccessible exception displayed on login as unknown user
How to test
Log in to a profile with google account (probably should not be linked to some existing account of yours).
Author's checklist
-
I have followed the contribution guidelines -
This MR has been tested or does not change functionality -
I have added relevant merge request dependencies (if this MR has any) -
I have added the correct labels -
I have assigned reviewers (if any are relevant) -
I have edited the documentation (if the changes require it) or I have noted the need for the change if I do not have access to the documentation -
I have marked all introduced BREAKING CHANGES or necessary DEPLOYMENT NOTES in the commit message(s)
Reviewer's checklist
-
This MR has been tested or does not change functionality -
This MR has correct commit message format
Other information
The handling of non existing user is still broken, but I assume it should be fixed in STR-1169. Here I've found out that displaying of exceptions on profile is not broken. It is just this case where it should not even come to an exception so I've just added a check for non existing user to stop the execution. The handling of this state is in the scope of UserDontExistDialogComponent
so it should be okay to just ignore it here.
Related issues
Closes STR-1183
Edited by David Flor