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

Blank screen on clicking Missed calls report card #1292

Closed
Tracked by #1575
mahalakshme opened this issue Feb 9, 2024 · 4 comments
Closed
Tracked by #1575

Blank screen on clicking Missed calls report card #1292

mahalakshme opened this issue Feb 9, 2024 · 4 comments
Assignees

Comments

@mahalakshme
Copy link
Contributor

mahalakshme commented Feb 9, 2024

Related ticket:

https://avni.freshdesk.com/a/tickets/3501

Few points noticed:

  • Soon after sync, and after report cards loaded, on clicking the Missed Calls report card white screen showed up twice - but not consistently reproducible
  • On clicking the Missed Calls card multiple(3 or more than 3) times, even before it finishes loading - was able to consistently reproduce the white screen issue.
  • On clicking the card 2 times, it takes to the screen twice, and on clicking back , it takes back to the same screen.

Acceptance criteria:

  • Handle the case such that the above issues doesn't happen. Basically TaskListView rendering(and any report card rendering) not triggered until the loading completes

Stacktrace when I tried to reproduce the issue(on clicking multiple times):

02-09 12:09:45.357 20498 20553 D ReactNativeJS: [12:09:45:357] [Router][Debug] renderScene: Current Routes: /landingView,/taskListView,/taskListView. Route: /taskListView
02-09 12:09:45.358 20498 20553 D ReactNativeJS: [12:09:45:357] [Router][Debug] Using cached route: /taskListView. Element map path: /taskListView
02-09 12:09:45.358 20498 20553 D ReactNativeJS: [12:09:45:358] [Router][Debug] renderScene: Current Routes: /landingView,/taskListView,/taskListView. Route: /taskListView
02-09 12:09:45.358 20498 20553 D ReactNativeJS: [12:09:45:358] [Router][Debug] Using cached route: /taskListView. Element map path: /taskListView
02-09 12:09:45.360 20498 20553 D ReactNativeJS: [12:09:45:359] [TaskListView][Debug] render
02-09 12:09:45.434 20498 20553 E ReactNativeJS: TypeError: undefined is not a function
02-09 12:09:45.434 20498 20553 E ReactNativeJS:
02-09 12:09:45.434 20498 20553 E ReactNativeJS: This error is located at:
02-09 12:09:45.434 20498 20553 E ReactNativeJS:     in TaskListView
02-09 12:09:45.434 20498 20553 E ReactNativeJS:     in RCTView
02-09 12:09:45.434 20498 20553 E ReactNativeJS:     in Unknown
02-09 12:09:45.434 20498 20553 E ReactNativeJS:     in RCTView
02-09 12:09:45.434 20498 20553 E ReactNativeJS:     in Unknown
02-09 12:09:45.434 20498 20553 E ReactNativeJS:     in RCTView
02-09 12:09:45.434 20498 20553 E ReactNativeJS:     in Unknown
02-09 12:09:45.434 20498 20553 E ReactNativeJS:     in Navigator
02-09 12:09:45.434 20498 20553 E ReactNativeJS:     in Router
02-09 12:09:45.434 20498 20553 E ReactNativeJS:     in App
02-09 12:09:45.434 20498 20553 E ReactNativeJS:     in RCTView
02-09 12:09:45.434 20498 20553 E ReactNativeJS:     in Unknown
02-09 12:09:45.434 20498 20553 E ReactNativeJS:     in Avni
02-09 12:09:45.434 20498 20553 E ReactNativeJS:     in RCTView
02-09 12:09:45.434 20498 20553 E ReactNativeJS:     in Unknown
02-09 12:09:45.434 20498 20553 E ReactNativeJS:     in RCTView
02-09 12:09:45.434 20498 20553 E ReactNativeJS:     in Unknown
02-09 12:09:45.434 20498 20553 E ReactNativeJS:     in AppContainer, js engine: hermes
02-09 12:09:45.437 20498 20553 D ReactNativeJS: [12:09:45:436] [ErrorHandler][Debug] IsFatal=true TypeError: undefined is not a function
02-09 12:09:45.437 20498 20553 D ReactNativeJS: [12:09:45:437] [ErrorHandler][Debug] undefined is not a function
02-09 12:09:45.458 20498 20553 D ReactNativeJS: [12:09:45:458] [ErrorHandler][Debug] Creating frame array
02-09 12:09:45.458 20498 20553 D ReactNativeJS: [12:09:45:458] [ErrorHandler][Debug] Notifying Bugsnag (if release stage) TypeError: Fatal error: undefined is not a function
02-09 12:09:45.460 20498 20553 D ReactNativeJS: [12:09:45:460] [CustomDashboardView::AC][Debug] Dispatching action: "CustomDashboard.ON_CARD_PRESS"
02-09 12:09:45.462 20498 20553 D ReactNativeJS: [12:09:45:462] [TypedTransition][Debug] Route size: 3. To: /taskListView Param Keys: {"taskTypeType":"Call","backFunction":function bound onBackPress() { [bytecode] },"indicatorActionName":"CustomDashboard.LOAD_INDICATOR","reportFilters":null}
02-09 12:09:45.465 20498 20553 D ReactNativeJS: [12:09:45:465] [CustomDashboardView::AC][Debug] Dispatched action completed: "CustomDashboard.ON_CARD_PRESS" {"loading":true,"reportCardSectionMappings":{"entityClass":function DashboardSectionCardMapping() { [bytecode] },"realmCollection":<realm-collection>,"array":[]},"cardToCountResultMap":{"33134070-0cfd-4a37-a474-cef859ac3bac":{"primaryValue":BELOW_DEPTH,"secondaryValue":BELOW_DEPTH,"clickable":BELOW_DEPTH},"39aee9b8-576d-4fa4-bdf7-bcf56e1500c0":{"primaryValue":BELOW_DEPTH,"secondaryValue":BELOW_DEPTH,"clickable":BELOW_DEPTH},"fdc0ae7e-67ac-4225-b4ba-2617b230acfb":{"primaryValue":BELOW_DEPTH,"secondaryValue":BELOW_DEPTH,"clickable":BELOW_DEPTH},"7444b19a-8d0b-44c2-94c1-10b283a96cc1":{"primaryValue":BELOW_DEPTH,"secondaryValue":BELOW_DEPTH,"clickable":BELOW_DEPTH},"61465540-06e7-400a-bb3b-f2c4a9c53465":{"primaryValue":BELOW_DEPTH,"secondaryValue":BELOW_DEPTH,"clickable":BELOW_DEPTH},"fe3cdf05-0e2f-4edd-9659-dfa6372332bb":{"primaryValue":BELOW_DEPTH,"secondaryValue":BELOW_DEPTH,"clickable":BELOW_DEPTH},"552d8412-06b1-449b-9d76-a32a899b871f":{"primaryValue":BELOW_DEPTH,"secondaryValue":BELOW_DEPTH,"clickable":BELOW_DEPTH},"c712d6cf-0e1d-497b-8bfa-8b84bff8fbd2":{"primaryValue":BELOW_DEPTH,"secondaryValue":BELOW_DEPTH,"clickable":BELOW_DEPTH}},"countUpdateTime":{},"hasFilters":true,"ruleInput":{"ruleInputArray":null},"activeDashboardUUID":"9271b839-5e0a-49fc-8463-6557a38b7425","customDashboardFilters":{"date":{},"applied":false,"selectedLocations":[],"selectedCustomFilters":[],"selectedGenders":[]},"dashboards":[{"that":BELOW_DEPTH}],"filterConfigsChecksum":undefined}
02-09 12:09:45.470 20498 20553 E ReactNativeJS: Error: Minified Redux error #6; visit https://redux.js.org/Errors?code=6 for the full message or use the non-minified dev environment for full errors.
02-09 12:09:45.470 20498 20553 E ReactNativeJS:
02-09 12:09:45.470 20498 20553 E ReactNativeJS: This error is located at:
02-09 12:09:45.470 20498 20553 E ReactNativeJS:     in LandingView
02-09 12:09:45.470 20498 20553 E ReactNativeJS:     in RCTView
02-09 12:09:45.470 20498 20553 E ReactNativeJS:     in Unknown
02-09 12:09:45.470 20498 20553 E ReactNativeJS:     in RCTView
02-09 12:09:45.470 20498 20553 E ReactNativeJS:     in Unknown
02-09 12:09:45.470 20498 20553 E ReactNativeJS:     in RCTView
02-09 12:09:45.470 20498 20553 E ReactNativeJS:     in Unknown
02-09 12:09:45.470 20498 20553 E ReactNativeJS:     in Navigator
02-09 12:09:45.470 20498 20553 E ReactNativeJS:     in Router
02-09 12:09:45.470 20498 20553 E ReactNativeJS:     in App
02-09 12:09:45.470 20498 20553 E ReactNativeJS:     in RCTView
02-09 12:09:45.470 20498 20553 E ReactNativeJS:     in Unknown
02-09 12:09:45.470 20498 20553 E ReactNativeJS:     in Avni
02-09 12:09:45.470 20498 20553 E ReactNativeJS:     in RCTView
02-09 12:09:45.470 20498 20553 E ReactNativeJS:     in Unknown
02-09 12:09:45.470 20498 20553 E ReactNativeJS:     in RCTView
02-09 12:09:45.470 20498 20553 E ReactNativeJS:     in Unknown
02-09 12:09:45.470 20498 20553 E ReactNativeJS:     in AppContainer, js engine: hermes
02-09 12:09:45.474 20498 20553 E ReactNativeJS: Error: Minified Redux error #6; visit https://redux.js.org/Errors?code=6 for the full message or use the non-minified dev environment for full errors.
02-09 12:09:45.474 20498 20553 E ReactNativeJS:
02-09 12:09:45.474 20498 20553 E ReactNativeJS: This error is located at:
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in CustomDashboardView
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in RCTView
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in Unknown
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in Unknown
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in Box
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in $29383e587d62412a$export$9f8ac96af4b1b2ae
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in ToastProvider
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in PortalProvider
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in HybridProvider
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in ResponsiveQueryProvider
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in RNCSafeAreaProvider
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in SafeAreaProvider
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in NativeBaseConfigProviderProvider
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in NativeBaseProvider
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in CHSContainer
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in LandingView
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in RCTView
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in Unknown
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in RCTView
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in Unknown
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in RCTView
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in Unknown
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in Navigator
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in Router
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in App
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in RCTView
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in Unknown
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in Avni
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in RCTView
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in Unknown
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in RCTView
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in Unknown
02-09 12:09:45.474 20498 20553 E ReactNativeJS:     in AppContainer, js engine: hermes
02-09 12:09:45.481 20498 20553 E ReactNativeJS: TypeError: undefined is not a function

Probable related Bugsnag stacktrace faced by the issue notifier:

https://app.bugsnag.com/samanvay-research-and-development-foundation/avni-client/errors/65c239897fbd5f000879379e?filters[event.since]=7d&filters[app.release_stage]=prod&filters[error.status]=for_review&filters[user.id]=mohit%40power

Error Fatal error: Minified Redux error #6; visit https://redux.js.org/Errors?code=6 for the full message or use the non-minified dev environment for full errors.  
    /home/circleci/avni-client/packages/openchs-android/node_modules/redux/lib/redux.js:244:23 unsubscribe
    /home/circleci/avni-client/packages/openchs-android/src/framework/view/AbstractComponent.js:124:24 componentWillUnmount
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6117:47 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6026:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6142:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6104:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6026:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6142:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6104:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6026:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6142:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6104:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6121:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6121:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6121:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6026:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6142:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6104:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6121:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6026:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6142:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6104:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6026:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6142:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6104:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6142:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6121:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6007:32 recursivelyTraverseDeletionEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6142:40 commitDeletionEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6193:36 recursivelyTraverseMutationEffects
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6300:40 commitMutationEffectsOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:7410:32 commitRootImpl
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:7354:20 commitRoot
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6992:12 performSyncWorkOnRoot
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:2145:30 flushSyncCallbacks
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6650:57 scheduleUpdateOnFiber
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:2617:28 enqueueSetState
    /home/circleci/avni-client/packages/openchs-android/node_modules/react/cjs/react.production.min.js:12:251 setState
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native-deprecated-custom-components/src/Navigator.js:1105:7 push
    /home/circleci/avni-client/packages/openchs-android/src/framework/routing/TypedTransition.js:28:31 to
    /home/circleci/avni-client/packages/openchs-android/src/views/customDashboard/CustomDashboardView.js:178:22 goToTaskLists
    /home/circleci/avni-client/packages/openchs-android/src/action/customDashboard/CustomDashboardActions.js:78:101 onCardPress
    /home/circleci/avni-client/packages/openchs-android/src/reducer/Reducer.js:22:30 anonymous
    /home/circleci/avni-client/packages/openchs-android/node_modules/redux/lib/redux.js:566:33 combination
    /home/circleci/avni-client/packages/openchs-android/node_modules/redux/lib/redux.js:296:21 dispatch
    /home/circleci/avni-client/packages/openchs-android/src/framework/view/AbstractComponent.js:56:63 dispatchAction
    /home/circleci/avni-client/packages/openchs-android/src/views/customDashboard/CustomDashboardView.js:170:75 anonymous
    native apply
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Core/Timers/JSTimers.js:213:22 anonymous
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Core/Timers/JSTimers.js:111:14 _callTimer
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Core/Timers/JSTimers.js:359:16 callTimers
    native apply
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:428:31 __callFunction
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:113:25 anonymous
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:368:10 __guard
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:112:16 callFunctionReturnFlushedQueue
@mahalakshme mahalakshme converted this from a draft issue Feb 9, 2024
@mahalakshme mahalakshme moved this from In Analysis to Ready in Avni Product Feb 9, 2024
@himeshr himeshr self-assigned this Feb 26, 2024
@himeshr himeshr moved this from Ready to In Progress in Avni Product Feb 26, 2024
himeshr added a commit that referenced this issue Feb 26, 2024
@himeshr
Copy link
Contributor

himeshr commented Feb 26, 2024

Was able to reproduce this issue using mohit@power, on prerelease env.
The fix was to add debounce guard to CustomDashboard onCardPress action, to avoid duplicate transitions from being invoked.

@himeshr himeshr moved this from In Progress to Code Review Ready in Avni Product Feb 26, 2024
@petmongrels petmongrels moved this from Code Review Ready to In Code Review in Avni Product Feb 26, 2024
@petmongrels petmongrels moved this from In Code Review to QA Ready in Avni Product Feb 26, 2024
@himeshr himeshr moved this from QA Ready to In Progress in Avni Product Feb 27, 2024
himeshr added a commit that referenced this issue Feb 27, 2024
…rd, to avoid triggering multiple transitions"

This reverts commit 21458ca.
himeshr added a commit that referenced this issue Feb 27, 2024
…e very top, to avoid triggering multiple transitions
@himeshr himeshr moved this from In Progress to Code Review Ready in Avni Product Feb 27, 2024
@petmongrels petmongrels moved this from Code Review Ready to In Code Review in Avni Product Feb 27, 2024
@petmongrels petmongrels moved this from In Code Review to QA Ready in Avni Product Feb 27, 2024
@AchalaBelokar AchalaBelokar moved this from QA Ready to In QA in Avni Product Mar 8, 2024
@AchalaBelokar
Copy link

AchalaBelokar commented Mar 8, 2024

  • Login with mohit@power on 6.1 apk and able to reproduce this bug
  • upgrade this app to 7.1 and tries to cilck on miss calls there is lot of data so loading takes time
  • while loading I am click on miss calls tab but it is not responding
  • After loading the all the tab I click multiple on miss calls response time is slow but it is working
az_recorder_20240308_170019.mp4
  • And then download the fresh 7.1 apk and tried to login

@mahalakshme
Copy link
Contributor Author

@AchalaBelokar the case you have shown in video is not the issue, did you check the white screen issue or not?

@mahalakshme mahalakshme moved this from Test cases review to Test cases review with comments in Avni Product Mar 26, 2024
@AchalaBelokar
Copy link

  • the white screen is not coming..It is working fine..

@AchalaBelokar AchalaBelokar moved this from Test cases review with comments to Done in Avni Product Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

4 participants