-
Notifications
You must be signed in to change notification settings - Fork 134
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
Error when creating cases with user role including Has optional health facility
#13077
Comments
…ype in case controller if user facility is not null
…or-when-creating-cases-with-user-role-hospital-informant-with-associated-facility #13077 - fixes error when creating a new case as hospital informant user with an associated facility
Issue is not fixed! Error is still happening when a hospital informant wants to create a case! |
@richardbartha , this fix is expected to be available in the next release. what version did you test on. can you test with the dev branch to confirm your findings again. |
The testing was done on development branch! Untitled.video.mp4 |
thanks for this update. I will look into this. |
Hi @richardbartha , Can you share the details of the user you have used to test, your error maybe related to another problem not what has been reported in this issue. I will ask @Candice-Louw to check from her side as well. |
When testing on 1.97.0-SNAPSHOT (86e6370), the error did not appear anymore (at least not on my side). |
I will mark this issue as closed. thank you @Candice-Louw. |
Retested on latest development branch together with @obinna-h-n the issue is still there or at least a part of it. |
Bug Description
When creating a new user role (Users > User Roles > Create new user role) and assigning the
Has optional health facility
, an error occurs when a user with this user role tries to create a new case.Reproduction Steps
Has optional health facility
defined....
Expected Behavior
No error appears.
Affected Area(s)
Web app
SORMAS Version
1.95.1
Android version/Browser
Chrome
User Role(s)
Hospital Informant (default role with Facility attached to it)
Server URL
No response
Additional Information
Error log by @obinna-h-n : hosp-info-casecreate-error-sormas-log.txt
The text was updated successfully, but these errors were encountered: