SORMAS-Project icon indicating copy to clipboard operation
SORMAS-Project copied to clipboard

'Facility Name & Description' field is no longer mandatory in edit Case mode

Open roxanamlendea opened this issue 3 years ago • 3 comments

Bug Description

In the Case creation form, when the 'Place of Stay' = 'Facility' and 'Facility' = 'Other Facility', the 'Facility Name & Description' field is mandatory. However, after the Case is created, in Edit mode, the field is no longer mandatory and the user can leave it empty.

Steps to Reproduce

  1. Create a new Case and select the Place of Stay details like in the first screenshot;
  2. Open the Case page and inspect the 'Facility Name & Description' field.

Expected Behavior

The 'Facility Name & Description' should be optional in the creation form.

Screenshots

Create New Case form: image

Edit Case page: image

System Details

  • Device: Windows 10
  • SORMAS version: 1.75.0
  • Android version/Browser: Chrome
  • Server URL: release-international.sormas.netzlink.com
  • User Role: Admin, National User

Additional Information

roxanamlendea avatar Sep 12 '22 10:09 roxanamlendea

@roxanamlendea I believe it's actually the other way around. If I'm not mistaken, we've removed the requirement from that field on purpose, and the inconsistency would then actually be that it's still required in the creation form.

@MartinWahnschaffe Do you remember what our current take on this should look like?

MateStrysewske avatar Sep 13 '22 07:09 MateStrysewske

@MateStrysewske No, unfortunately I have no idea.

MartinWahnschaffe avatar Sep 19 '22 07:09 MartinWahnschaffe

Okay, then I'd just decide that we should change the creation form and make the field optional there.

MateStrysewske avatar Sep 21 '22 08:09 MateStrysewske

Validated ticket on the latest version of sormas 1.77.0-snapshot (406c2ee) on test-de.sormas.netzlink.com environment

AndyBakcsy-she avatar Nov 04 '22 10:11 AndyBakcsy-she