Opened 6 years ago

Closed 6 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:2 Changed 6 years ago by sigi

Version: 1.5master

comment:3 Changed 6 years ago by sigi

Owner: changed from nobody to sigi
Status: newassigned

comment:4 Changed 6 years ago by Jacob

Triage Stage: UnreviewedAccepted

comment:5 Changed 6 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