ansible / awx

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
Other
13.5k stars 3.34k forks source link

Test DAB fix for checks #15139

Closed AlanCoding closed 3 weeks ago

AlanCoding commented 3 weeks ago
SUMMARY

Checks are failing, link https://github.com/ansible/django-ansible-base/pull/348 upstream

ISSUE TYPE
COMPONENT NAME
AlanCoding commented 3 weeks ago
  File "/var/lib/awx/venv/awx/lib64/python3.11/site-packages/ansible_base/rest_filters/rest_framework/order_backend.py", line 23, in filter_queryset
    default_order_by = self.get_default_ordering(view, queryset)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/awx/venv/awx/lib64/python3.11/site-packages/ansible_base/rest_filters/rest_framework/order_backend.py", line 60, in get_default_ordering
    if queryset is not None and len(queryset._query.order_by) > 0:
                                    ^^^^^^^^^^^^^^^
AttributeError: 'PolymorphicManager' object has no attribute '_query'

Too big to handle right now.