SORMAS-Project
SORMAS-Project copied to clipboard
'Place of stay of this case differs from its responsible jurisdiction' always displayed for 'Point of entry' cases in the mobile app
Bug Description
In the vaadin-app, the checkbox for 'Place of stay of this case differs from its responsible jurisdiction' for 'Point of entry' cases, is displayed only when a value (home/facility) has already been set for the case when it was created.
In the android-app, however, this checkbox is always displayed for 'Point of entry' cases, even when no value has been set for the 'Place of stay'.
Steps to Reproduce
- Log into the android-app;
- Create a new case (set 'Case origin' = point of entry; do not set any 'Place of stay');
- Save the case;
- Observe the case's main page.
Actual Behavior
The checkbox 'Place of stay of this case differs from its responsible jurisdiction' is displayed.
Expected Behavior
The checkbox 'Place of stay of this case differs from its responsible jurisdiction' should not be displayed when no value was set for 'Place of stay' when the case was created (expected behavior is described so that it would match the behavior from the vaadin-app).
Screenshots
Point of entry case with no value set for 'Place of stay' in the vaadin-app:
Point of entry case with no value set for 'Place of stay' in the android-app:
System Details
- Device: Windows 10 (vaadin-app); Android Studio Emulator - Pixel C (android-app)
- SORMAS version: 1.75.0-SNAPSHOT(cc39e9b)
- Android version/Browser: Chrome (vaadin-app); Android 11 (android-app)
- Server URL: local machine
- User Role: Admin+NatUser (vaadin-app); Surveillance Officer (android app)