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

TypeError: Uncaught exception at:: undefined is not an object (evaluating '(0,i.usePostHog)().getFeatureFlag... #4176

Closed
sentry-io bot opened this issue Dec 24, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@sentry-io
Copy link

sentry-io bot commented Dec 24, 2023

This seems to started after latest posthog upgrade.
Is there some delay required? maybe report on posthog and downgrade?

Sentry Issue: GOODDAPP-1AGFS

TypeError: Uncaught exception at:: undefined is not an object (evaluating '(0,i.usePostHog)().getFeatureFlagPayload')
  at exports.useSecurityDialog (components/security/securityDialog.js:8:19)
  at welcome (components/auth/login/WelcomeScreen.js:44:47)
...
(9 additional frame(s) were not displayed)
@sentry-io sentry-io bot added the bug Something isn't working label Dec 24, 2023
@L03TJ3
Copy link
Collaborator

L03TJ3 commented Dec 27, 2023

wip/temp fix here: c3a480d
but will have additional testing/debugging done for a more proper fix

@L03TJ3
Copy link
Collaborator

L03TJ3 commented Dec 28, 2023

final fix here: d09c492

@L03TJ3
Copy link
Collaborator

L03TJ3 commented Jan 8, 2024

Found a bug on local development, pending fix is in this pr: #4182

@L03TJ3
Copy link
Collaborator

L03TJ3 commented Jan 8, 2024

QA TestCase:

  1. make sure relevant features are enabled/disabled (eg. task is managed by posthog)
  2. logout > login: should not break with whitescreen (android)

@vldkhh
Copy link

vldkhh commented Jan 8, 2024

fixed.
image.png

@vldkhh vldkhh closed this as completed Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants