Open jpadron-am opened 1 week ago
is this in AAP 2.4 or 2.5?
is this in AAP 2.4 or 2.5?
2.4
moving this to the controller_configuration repo from aap_configuration. I would have to try and test passing this directly to the modules and see if that replicates the issue you are seeing or not
@sean-m-sullivan or @Tompage1994 if either of you have some time to look into this as well that would be helpful
Summary
If I create the template in the GUI I am able to access the survey. The issue is when we create the template using Ansible and the infra.controller_configuration collection. When the playbook creates the template we are not able to see the survey in the GUI i to make changes. If I launch the template it does show the survey to answer. I did open a ticket with Redhat and they are having the same issue. I was told to open an issue here.
Issue Type
Ansible, Collection, Controller details
OS / ENVIRONMENT
Desired Behavior
Actual Behavior
Please give some details of what is actually happening. Include a [minimum complete verifiable example] with: The following is the error we get in the GUI: TypeError: Cannot read properties of undefined (reading 'length') TypeError: Cannot read properties of undefined (reading 'length') at Fle (https://ansiblecontroller-dev.company.com/static/js/main.359f10ea.js:2:3037132) at ao (https://ansiblecontroller-dev.company.com/static/js/main.359f10ea.js:2:831448) at Ks (https://ansiblecontroller-dev.company.com/static/js/main.359f10ea.js:2:883792) at Al (https://ansiblecontroller-dev.company.com/static/js/main.359f10ea.js:2:871038) at Tl (https://ansiblecontroller-dev.company.com/static/js/main.359f10ea.js:2:870966) at El (https://ansiblecontroller-dev.company.com/static/js/main.359f10ea.js:2:870829) at yl (https://ansiblecontroller-dev.company.com/static/js/main.359f10ea.js:2:867795) at https://ansiblecontroller-dev.company.com/static/js/main.359f10ea.js:2:817240 at t.unstable_runWithPriority (https://ansiblecontroller-dev.company.com/static/js/main.359f10ea.js:2:913546) at Gi (https://ansiblecontroller-dev.company.com/static/js/main.359f10ea.js:2:817017) The playbook runs successfully. The following is in the main playbook. roles: - {role: infra.controller_configuration.job_templates, when: controller_templates is defined}
name: Create job ansible.builtin.include_role: name: infra.controller_configuration.job_templates vars: controller_templates: "{{ data }}" no_log: false The following is the .project file:
STEPS TO REPRODUCE
The playbook runs successfully and the template does get created in AAP. You just can't view or change the survey. The Web interface shows There was an error loading this content. Please reload the page. You are able to launch the template and the survey does show up. You just can't do any manual updates to it.