avniproject / avni-client

Android app for the fieldworkers.
https://avniproject.org
GNU Affero General Public License v3.0
7 stars 21 forks source link

BugSnag issue (APF Odisha, Dashboard filter crashing perhaps) #1080

Open petmongrels opened 1 year ago

petmongrels commented 1 year ago

https://app.bugsnag.com/samanvay-research-and-development-foundation/avni-client/errors/64b14872e0608000084354bc

TypeError Fatal error: undefined is not an object (evaluating 'addressFilter[0].filterValue.filter') unknown /home/circleci/avni-client/packages/openchs-android/src/service/RuleEvaluationService.js:661:23 executeDashboardCardRule /home/circleci/avni-client/packages/openchs-android/src/service/RuleEvaluationService.js:674:58 _class /home/circleci/avni-client/packages/openchs-android/src/service/customDashboard/ReportCardService.js:111:84 _class /home/circleci/avni-client/packages/openchs-android/src/action/customDashboard/CustomDashboardActions.js:115:109 [native code] forEach /home/circleci/avni-client/packages/openchs-android/node_modules/realm/lib/collection-methods.js:59:38 methodName /home/circleci/avni-client/packages/openchs-android/src/action/customDashboard/CustomDashboardActions.js:113:42 value /home/circleci/avni-client/packages/openchs-android/src/reducer/Reducer.js:22:44 /home/circleci/avni-client/packages/openchs-android/node_modules/redux/lib/redux.js:568:36 /home/circleci/avni-client/packages/openchs-android/node_modules/redux/lib/redux.js:296:36 dispatch /home/circleci/avni-client/packages/openchs-android/src/framework/view/AbstractComponent.js:65:63 value /home/circleci/avni-client/packages/openchs-android/src/views/customDashboard/CustomDashboardView.js:84:45 /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Core/Timers/JSTimers.js:214:17 /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Core/Timers/JSTimers.js:112:6 _callTimer /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Core/Timers/JSTimers.js:357:17 callTimers /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:417:32 value /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:114:26 /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:368:8 value /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:113:17 value [native code] value

vinayvenu commented 1 year ago

@nupoorkhandelwal @sachsk do take a look and add notes on priority of this issue.