Expected Behaviour
If a form has a preload attribute this gets executed and set during first load. However when editing the submission the value should not get set again.
Observed Behaviour
Editing updates the preload bindings.
Reproduction Steps
Form (XML or XLSX file):
form.xml
Steps:
- Load the form above. Note the start date is set to now.
- Submit the form.
- Edit the form. The start date should be unchanged, but actually gets updated to now.
Additional Context
There is a special case to be aware of, which is instanceID and deprecatedID. These should be updated on edit to track the updates. These are hardcoded attributes which currently go through the same code as the configured preloads so it's important to verify that any changes don't regress those.
Expected Behaviour
If a form has a preload attribute this gets executed and set during first load. However when editing the submission the value should not get set again.
Observed Behaviour
Editing updates the preload bindings.
Reproduction Steps
Form (XML or XLSX file):
form.xml
Steps:
Additional Context
There is a special case to be aware of, which is
instanceIDanddeprecatedID. These should be updated on edit to track the updates. These are hardcoded attributes which currently go through the same code as the configured preloads so it's important to verify that any changes don't regress those.