-
Notifications
You must be signed in to change notification settings - Fork 8
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
Export/Import survey multiple choice issue #8
Comments
Ok the problem is related to survey that are migrated from ansible tower, in the UI survey is working after migration but in the API is in the old state. Closing the issue. |
Reopen it, we identified that the issue is produced by this part of the code:
Somehow saving to file, modify the survey in a way that when it is loaded with filetree_read and dispatch, it import into |
I'm unable to reproduce this in a branch I'm developing tests for the existing roles. Can we close this issue? |
To be honest this bug is weird because it happens only when we save the object with survey into the file, when we tested without saving the file, the survey was okay. But we have a similar bug: When we define textarea with default answer: After exporting object and importing the textarea is changed into: |
Summary
I've discovered that when a survey with multiple-choice questions is exported with JT/WF and then imported, the multiple-choice gets broken - it has only one choice.
Issue Type
Ansible, Collection, Controller details
OS / ENVIRONMENT
RH 9.4
Desired Behavior
Survey has a list of choices:
Actual Behavior
Survey has a one choice:
STEPS TO REPRODUCE
Remark: the object with survey must be migrated from ATP to AAP using upgrade method.
The text was updated successfully, but these errors were encountered: