-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Form Radio Button status and values can be out of synch #200
Comments
@stefanvogel65 thank you very much for this detailed and clear problem description. ZIP files with binaries, however, are generally discouraged in bug reports, as they can be a source of viruses. I am holding on to a copy of the files myself, and will be happy to provide it to a developer on request. But it would be ideal if you could put the screenshots directly into a comment rather than in a Word file. Knowing the version of the browser that it is taken in might also help. We will look into this and try to analyse the cause as soon as we can. |
@loleg thank you for looking into this. On the ZIP attachment: I choose a zip as at least the workflow export (Proxeus *.db file) cannot be attached otherwise. The browsers I tried are:
I put the content of the Word attachment here for convenience. Please let me know in case you need something else. Testing Radio Buttons and Drop Down BehaviorStefan Vogel, 22 Dec. 2020 Test WorkflowGet the details from Proxeus-Workflow_08a844a4-633a-4b95-afa9-be23e584cd4c_22-12-2020_17-51.db in the ZIP attachment. Test scenario 1, fresh startInitial screenIssues
Test scenario 2, 2nd run, all correctDropDowns and RadioButtons are selected as shown, conditional blocks all appear as they should. Rendered form is filled correctly: Proceeding to the next form: Conditional node performs correctly: Test Scenario 4, restart after document deleteForm initialized as expected, however, conditional Block for RadioButton2, 1st Value is hidden. Rendered Doc does not show value for RadioButton2, in contrast to what is expected. Navigating to the next form shows that RadioButton2 value is not set to “1st Value”: Test Scenario 5, Logged in with different user (Metamask)Create new document from same workflow. Values seem to be inherited from pending draft from other user, conditional Blocks on form look consistent to the values pre-selected: However, rendering does not show any radio button or drop down value set: Test Scenario 6, Another fresh startStarted a new document, form initializes like this: Observation:
|
We started a new investigation to this issue, since we had a better idea of how to address it. A fix is in the works. |
done |
The fix has now been released |
Subject of the issue
When using radio buttons on forms in the workflows, the status of the radio button widget and the actual value can be out of synch, e.g. a radio button looks to be set to a specific selection although the variable associated with the radio button is not set. Under some circumstances, similar inconsistencies appear for drop-down lists, however more rarely.
Your environment
Tried on Proxeus core on RHEL v 7 and with different browsers (Firefox, Chrome).
Steps to reproduce
Import the testing workflow to Proxeus and insert the ODT template to the Proxeus template “Test Template” and run it.
The testing workflow’s key form is the “Test-Input” Form where two radio buttons and two drop downs are inserted, one of each with default values set and one with no default value. There are three ways to check on the actual status of the variables behind the radio buttons and drop downs:
Start the workflow and compare the elements on the form with what the rendered template shows. Proceed to the next form to check whether the variable of RadioButton2 is actually set to “1st value”. Change settings of the drop downs and radio buttons on the form and compare with the rendered template.
When you complete a workflow instance and start a new one, the behavior is slightly changed. Also, there might be a different initial form status when you start a workflow instance as another user.
Depending on the constellation (new/existing user, 1st or second instance of a workflow, …) the behavior can be different. E.g. it might be that the conditional components on the form appear as expected, however the variables in the rendered document are not set.
See attached word document for screenshots from some testing scenarios.
Expected behavior
The status of the radio buttons and drop downs as they appear on the form should always be in synch
Actual behavior
There are constellations where the drop downs and / or radio buttons appear to be set to a specific value, but these values
In particular, on startup of the first workflow instance, RadioButton1 looks as if is set to “1st value” (as it should, as this is the default setting), however neither the conditional Headline component is displayed, nor the corresponding value in the rendered form is set, nor the conditional node leads to the expected next form “Test Output”.
Find the following in attached zip file Test-Artefacts.zip
The text was updated successfully, but these errors were encountered: