Project

Profile

Help

Issue #3932

Pagination warning: UnorderedObjectListWarning

Added by daviddavis about 1 year ago. Updated 6 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

Description

In the logs, I see the warning:

/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/rest_framework/pagination.py:198: UnorderedObjectListWarning: Pagination may yield inconsistent results with an unordered object_list: <class 'pulp_rpm.app.models.RpmRemote'> QuerySet.

I can't seem to reliably reproduce this warning though. It seems to happen right after I start/restart my django server and hit a list endpoint.

History

#1 Updated by CodeHeeler about 1 year ago

  • Triaged changed from No to Yes

#2 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF