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

Saving editied case information when place of stay is home results in error #2813

Closed
kwa20 opened this issue Sep 4, 2020 · 3 comments
Closed
Assignees
Labels
bug An error or misbehavior of an existing feature (ticket type) qa-verified Issue has been tested and verified by QA

Comments

@kwa20
Copy link

kwa20 commented Sep 4, 2020

Bug Description

After creating and saving a case, where home has been selected for place of stay, further editing of case information and subsequent saving results in an error. You are asked to check facility type. Saving will only work when place of stay selection and place describtion have been reedited.

Steps to Reproduce

1.Create a case with place of stay being home.
2.When redirected to the case information, feel free to edit any editional fields except place of stay and place description.
3.Try saving. When error occurred, reedit place of stay and place description and save again.

Expected Behaviour

When place of stay and place description have been entered in initial case creation window, reediting should not be necessary in case information for then being able to save.

Screenshots

System Details

  • Device:
  • SORMAS version: 1.47.1
  • Android version/Browser: Chrome

Additional Information

@kwa20 kwa20 added the bug An error or misbehavior of an existing feature (ticket type) label Sep 4, 2020
@bernardsilenou
Copy link

bernardsilenou commented Sep 4, 2020

image

@bernardsilenou
Copy link

@MateStrysewske I created this case in figure above as an admin+national user role and automatic task is cloned. Similar to #2635

  • Add "HOME" as value of facilityType in data dictionary
  • set facilityType = "HOME" when place of stay = home ( case creation + import)
    OR
  • make facilityType non-required when place of stay = home

@AndyBakcsy-she
Copy link

Verified issue on SORMAS Version: 1.48.0-SNAPSHOT
Creating a Case with Facility type home or facility is working as expected.
Changing the facility type also works.

@AndyBakcsy-she AndyBakcsy-she added the qa-verified Issue has been tested and verified by QA label Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error or misbehavior of an existing feature (ticket type) qa-verified Issue has been tested and verified by QA
Projects
None yet
Development

No branches or pull requests

4 participants