Description
Problem Description
An error appears asking the user to provide a valid point of entry appears when trying to change the 'Place of stay' and 'Responsible jurisdiction' of a port health case (point of entry case) for cases of Travel Entries and for cases created directly as point of entry cases.
Steps:
Create case from the page of a travel entry:
- Log in with an Admin+NatUser;
- Open an existing travel entry and click on 'Create case';
- Fill in the mandatory information and se the jurisdiction to Region1, District1;
- Save the new case;
- When on the case edit page, update the jurisdiction to Region2, District 2 and try to save.
Create case from the case directory:
- Log in with an Admin+NatUser;
- In the 'Cases' directory, click to create a new case;
- For the 'Case origin' select 'Point of entry';
- Fill in the mandatory information and set the jurisdiction to Region 1, District 1;
- Save the new case;
- When on the case edit page, update the jurisdiction to Region 2, District 2 and try to save.
Actual behavior: An error appears asking the user to specify a valid point of entry.
Expected Behavior
The point of entry belongs to the responsible region and district -> it is cleared when the jurisdiction changed and saving is not allowed.
The responsible jurisdiction should be read only.
The "Place of stay of this case differs from its responsible jurisdiction" checkbox - if the checkbox is checked when the case is created, afterwards the place of stay information is already read only and can not be updated.
Additional Information
No response
Activity