OpenClinica / enketo-oc

OpenClinica's fork of the Enketo web forms monorepo
Apache License 2.0
0 stars 1 forks source link

Relevant group error prompts user to add autoqueries despite items already having open queries #43

Open pbowen-oc opened 1 year ago

pbowen-oc commented 1 year ago

Previously described as a comment in OpenClinica/enketo-express-oc#649

Steps:

  1. Open an already completed form
  2. Change data such that a group containing item data becomes non-relevant (a relevant error is expected to appear)
  3. Add a query to each item in the non-relevant group that contains a non-null value (note that this will not eliminate the relevant error)
  4. Click the Close button on the form (note that this is a modified Complete button since this form was opened as already completed)

Expected: Since the items under the group relevant error already have open queries, the form should close without prompting the user to add further autoqueries.

Actual: The user is prompted to add autoqueries to address the issue. When the user clicks the Proceed button, no queries are actually submitted. Screenshot 2023-03-01 222218