"Anonymous answers" option is displayed incorrectly after form answers have been submitted
Closed this issue · 1 comments
Steps to reproduce:
- Open an active assessment event with "anonymous answers" activated option
- Fill in any form and turn off "anonymous answers" option (deactivate)
- Close assessment event and reopen the same form
Actual result:
"Anonymous answers" option is activated (turned on)
Expected result:
"Anonymous answers" option is deactivated (turned off)
Req ID: REQF_asss-004, REQF_asss-009
The comment from the previous developer:
There are two possible controversial moments:
"Anonymous answers" option is hardcoded on FE side, that always display turned on mode.
After turning on “isAnonymous” option in survey and submitting the form http://api-endpoint/#!/Assessment/getList - query returns changed “isAnonymous“ mode for any others “isAnonymous” form fileds in current project (see attached picture). It is needed to discuss with backend if it’s an expected behavior.
@vanekbr Please, re-check bug with next input data:
- Create assessment event with Anonymity: on, Show all forms on one page: on;
- Start to participate;
- Scroll down;
- Fill in last form;
- Turn off Anonymity;
- Save changes;
- Reopen assessment.
Actual result: Anonymity is on
Expected result: Anonymity is off