Opened 4 years ago

Closed 4 years ago

#19998 closed Bug (fixed)

loaddata --ignorenonexistent not working for XML based fixtures

Reported by: sigi Owned by: sigi
Component: Core (Serialization) Version: master
Severity: Normal Keywords: fixtures
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


The new --ignorenonexistent commandline argument for loaddata is not working with XML based fixtures, because there is
no code for it in django.core.serializers.xml_serializer.Deserializer.

The patch adds code for ignoring nonexistent fields and a small test.

Change History (5)

comment:1 Changed 4 years ago by sigi

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

comment:2 Changed 4 years ago by sigi

Version: 1.5master

comment:3 Changed 4 years ago by sigi

Owner: changed from nobody to sigi
Status: newassigned

comment:4 Changed 4 years ago by Jacob

Triage Stage: UnreviewedAccepted

comment:5 Changed 4 years ago by Florian Apolloner <florian@…>

Resolution: fixed
Status: assignedclosed

In 465b01f065a8482bfa42c19e3854a3c810e69d33:

Fixed #19998 -- Fixed --ignorenonexistent support for XML based fixtures.

Note: See TracTickets for help on using tickets.
Back to Top