You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
The issue is related to the recent changes #46, if you export the workflow or job template when multichoice does not have set default choice, the default won't be exported and after import the question cannot be edited.
Issue Type
Bug Report
Ansible, Collection, Controller details
AAP 2.4
OS / ENVIRONMENT
N/A
Desired Behavior
Filetree_create should always export default for multichoice.
Actual Behavior
Filetree_create does not export default for multchoice when default is not set.
STEPS TO REPRODUCE
Create JT with survey and multchoice question - don't set the default choice
Export the JT with filetree_create
Import the JT.
Edit the question from survey.
The text was updated successfully, but these errors were encountered:
I found out that this piece of code is making default disappear.
{% for survey_item_content in (survey_item | dict2items) if ((survey_item_content.value | string | length) > 0 and (survey_item_content.value | string) is not match('None')) %}
Summary
Hey,
The issue is related to the recent changes #46, if you export the workflow or job template when multichoice does not have set default choice, the default won't be exported and after import the question cannot be edited.
Issue Type
Ansible, Collection, Controller details
AAP 2.4
OS / ENVIRONMENT
N/A
Desired Behavior
Filetree_create should always export default for multichoice.
Actual Behavior
Filetree_create does not export default for multchoice when default is not set.
STEPS TO REPRODUCE
The text was updated successfully, but these errors were encountered: