Opened 3 years ago

Closed 3 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 3 years ago by sigi

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 3 years ago by sigi

  • Version changed from 1.5 to master

comment:3 Changed 3 years ago by sigi

  • Owner changed from nobody to sigi
  • Status changed from new to assigned

comment:4 Changed 3 years ago by jacob

  • Triage Stage changed from Unreviewed to Accepted

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

  • Resolution set to fixed
  • Status changed from assigned to closed

In 465b01f065a8482bfa42c19e3854a3c810e69d33:

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

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