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

More robust error handling on ShowContact.tsx #109

Open
wally-yawn opened this issue Feb 6, 2025 · 0 comments
Open

More robust error handling on ShowContact.tsx #109

wally-yawn opened this issue Feb 6, 2025 · 0 comments

Comments

@wally-yawn
Copy link
Collaborator

Currently when the fetchShowContact method is invoked, error handling is seemingly designed to display an error to the user. However in practice some errors, such as clicking on a user that no longer exists, result in the user being kicked back to the login page.

To reproduce:

Navigate to this url, replacing ${backendURL} and $(userId) with valid inputs for your environment and ${contactId} with an invalid input:

${backendURL}users/${userId}/contacts/${contactId}`

This method is called both from the Contacts.tsx and ShowContact.tsx so please be sure to add cypress tests for both.

@wally-yawn wally-yawn moved this to Backlog in Tracker CRM Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant