[Django] #33949: Fixture dirs duplicates undetected if dir is Path instance

24 views
Skip to first unread message

Django

unread,
Aug 23, 2022, 6:04:12 AM8/23/22
to django-...@googlegroups.com
#33949: Fixture dirs duplicates undetected if dir is Path instance
-------------------------------------+-------------------------------------
Reporter: Claude | Owner: nobody
Paroz |
Type: Bug | Status: assigned
Component: Core | Version: dev
(Management commands) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
When FIXTURE_DIRS contains Path instances, the duplicate check in loaddata
does not detect duplicates.

--
Ticket URL: <https://code.djangoproject.com/ticket/33949>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Aug 23, 2022, 6:07:27 AM8/23/22
to django-...@googlegroups.com
#33949: Fixture dirs duplicates undetected if dir is Path instance
-------------------------------------+-------------------------------------
Reporter: Claude Paroz | Owner: Claude

| Paroz
Type: Bug | Status: assigned
Component: Core (Management | Version: dev
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz):

* owner: nobody => Claude Paroz
* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/15987 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/33949#comment:1>

Django

unread,
Aug 23, 2022, 6:37:11 AM8/23/22
to django-...@googlegroups.com
#33949: Fixture dirs duplicates undetected if dir is Path instance
-------------------------------------+-------------------------------------
Reporter: Claude Paroz | Owner: Claude
| Paroz
Type: Bug | Status: assigned
Component: Core (Management | Version: dev
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):

* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/33949#comment:2>

Django

unread,
Aug 23, 2022, 7:25:10 AM8/23/22
to django-...@googlegroups.com
#33949: Fixture dirs duplicates undetected if dir is Path instance
-------------------------------------+-------------------------------------
Reporter: Claude Paroz | Owner: Claude
| Paroz
Type: Bug | Status: closed

Component: Core (Management | Version: dev
commands) |
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson <carlton@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"903ac2f36439ab33039be077f474c23a3b72bf78" 903ac2f3]:
{{{
#!CommitTicketReference repository=""
revision="903ac2f36439ab33039be077f474c23a3b72bf78"
Fixed #33949 -- Fixed fixture dirs duplicates with Path instances.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/33949#comment:3>

Reply all
Reply to author
Forward
0 new messages