Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A parent authenticated and identified via Parent Phone 2 (and alts) returns a Contact Type Null #287

Open
CritiqalPete opened this issue Aug 5, 2024 · 2 comments
Assignees
Labels
bug Something isn't working Critical/Blocking blocking a release or development

Comments

@CritiqalPete
Copy link
Member

This Bug needs investigating to determine the cause but can be observed in this video about the reg flow.

  1. Parent 1 authenticates to a record they have created in the past
  2. Parent 1 adds Parent 2's phone number to the record
  3. Parent 2 authenticates
  4. parent 2 can't get past the COACH/PARENT identifier because:
    TypeError: Cannot read properties of undefined (reading 'ContactRecordType')

By default, a number that passes authentication should be considered a Parent.
The error (if Salesforce returns null in this field) should be logged and streamed to the error slack channel

@CritiqalPete CritiqalPete added bug Something isn't working Critical/Blocking blocking a release or development labels Aug 5, 2024
@CritiqalPete
Copy link
Member Author

this may be occuring in other repro scenarios as well. Maybe all first-time auth?

@AleksandrMolchagin
Copy link
Contributor

When logging into the Parent 2 account, the frontend tries to retrieve a contact that doesn’t exist and gets an empty result. Apparently, it comes from the Auth Mule app.
image
image
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Critical/Blocking blocking a release or development
Projects
None yet
Development

No branches or pull requests

3 participants