You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the evening attendance form we select the individual and came to dashboard and again if we go to the encounter we unable to deselect or select the individual.
env:pre-release
env: prod
pre-release User : dinesh@mc
prod : dineshg@mobilecrechetrial
Steps to reproduce:
1.Login to the app
2.search any school going and select the evening attendance encounter
3.click on the do select the individual.
4. select all the checkboxes
5.Click back
6.Click on do again
7.Try to deselect one of the individual from special diet page
8. app crashes
Happens also when trying to edit a completed encounter. Similar issue happens when trying to select on edit flow.
Expected : user able to select or deselect the individual
Actual : User unable to select or deselect
Logs:
12-19 21:26:48.405 2866 2914 D ReactNativeJS: [9:26:48:405] [AttendanceFormElement::AC][Debug] Dispatching action: "EA.TOGGLE_MULTISELECT_ANSWER"
12-19 21:26:48.411 2866 2914 D ReactNativeJS: [9:26:48:411] [ErrorHandler][Debug] IsFatal=true TypeError: Cannot create property 'answerSource' on string '{"answer":["974ad500-5ddf-4599-b432-9857c5ff592e","3d828318-99bd-421b-b20d-296f5068b8ec"],"answerSource":"manual"}'
12-19 21:26:48.411 2866 2914 D ReactNativeJS: [9:26:48:411] [ErrorHandler][Debug] Cannot create property 'answerSource' on string '{"answer":["974ad500-5ddf-4599-b432-9857c5ff592e","3d828318-99bd-421b-b20d-296f5068b8ec"],"answerSource":"manual"}'
12-19 21:26:48.416 2866 2914 D ReactNativeJS: [9:26:48:416] [ErrorHandler][Debug] Creating frame array
12-19 21:26:48.416 2866 2914 D ReactNativeJS: [9:26:48:416] [ErrorHandler][Debug] Notifying Bugsnag TypeError: Fatal error: Cannot create property 'answerSource' on string '{"answer":["974ad500-5ddf-4599-b432-9857c5ff592e","3d828318-99bd-421b-b20d-296f5068b8ec"],"answerSource":"manual"}'
12-19 21:26:48.418 2866 2914 E ReactNativeJS: 'App', 'undefined, "renderError: Fatal error: Cannot create property \'answerSource\' on string \'{\\"answer\\":[\\"974ad500-5ddf-4599-b432-9857c5ff592e\\",\\"3d828318-99bd-421b-b20d-296f5068b8ec\\"],\\"answerSource\\":\\"manual\\"}\'\\nStacktrace:[{\\"columnNumber\\":849014,\\"lineNumber\\":1,\\"fileName\\":\\"address at index.android.bundle:1:849014\\",\\"functionName\\":\\"toggleCodedAnswer\\",\\"source\\":\\" at toggleCodedAnswer (address at index.android.bundle:1:849014)\\"},{\\"columnNumber\\":851138,\\"lineNumber\\":1,\\"fileName\\":\\"address at index.android.bundle:1:851138\\",\\"functionName\\":\\"toggleMultiSelectAnswer\\",\\"source\\":\\" at toggleMultiSelectAnswer (address at index.android.bundle:1:851138)\\"},{\\"columnNumber\\":3218235,\\"lineNumber\\":1,\\"fileName\\":\\"address at index.android.bundle:1:3218235\\",\\"functionName\\":\\"toggleMultiSelectAnswer\\",\\"source\\":\\" at toggleMultiSelectAnswer (address at index.android.bundle:1:3218235)\\"},{\\"columnNumber\\":3243808,\\"lineNumber\\":1,\\"fileName\\":\\"address at index.android.bundle:1:3243808\\",\\"functionName\\":\\"anonymous\\",\\"source\\":\\" at anonymous (address at index.android.bundle:1:3243808)\\"},{\\"columnNumber\\":3383298,\\"lineNumber\\":1,\\"fileName\\":\\"address at index.android.bundle:1:3383298\\",\\"functionName\\":\\"combination\\",\\"source\\":\\"
In the evening attendance form we select the individual and came to dashboard and again if we go to the encounter we unable to deselect or select the individual.
env:pre-release
env: prod
pre-release User : dinesh@mc
prod : dineshg@mobilecrechetrial
Steps to reproduce:
1.Login to the app
2.search any school going and select the evening attendance encounter
3.click on the do select the individual.
4. select all the checkboxes
5.Click back
6.Click on do again
7.Try to deselect one of the individual from special diet page
8. app crashes
Happens also when trying to edit a completed encounter. Similar issue happens when trying to select on edit flow.
Expected : user able to select or deselect the individual
Actual : User unable to select or deselect
Logs:
Screen.Recording.2023-12-20.at.11.43.54.AM.mov
Screen.Recording.2023-12-19.at.11.38.16.AM.mov
The text was updated successfully, but these errors were encountered: