Previously described as a comment in OpenClinica/enketo-express-oc#649
Steps:
Open an already completed form
Change data such that a group containing item data becomes non-relevant (a relevant error is expected to appear)
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)
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.
Previously described as a comment in OpenClinica/enketo-express-oc#649
Steps:
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](https://user-images.githubusercontent.com/25179620/222322826-e3402894-da65-4623-ae95-00c3823964e9.png)