#36769: Limit recursive extraction of field values in XML deserializer
-------------------------------------+-------------------------------------
     Reporter:  Jacob Walls          |                    Owner:  Pravin
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  Core                 |                  Version:  dev
  (Serialization)                    |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  xml deserializer     |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls <jacobtylerwalls@…>):

 In [changeset:"1a70889d5837982a111bca0280ea6ca782c6de6b" 1a70889]:
 {{{#!CommitTicketReference repository=""
 revision="1a70889d5837982a111bca0280ea6ca782c6de6b"
 Refs #36769 -- Corrected invalid XML fixtures.

 fixture9.xml was likely wrong since its introduction in
 35cc439228cd32dfa7a3ec919db01a8a5cd17d33.

 The relevant part of the Visa model is:

 class Visa(models.Model):
     person = models.ForeignKey(Person, models.CASCADE)

 The Visa.person <field>s needed to be declared as relations, and
 the Person <field>s didn't need their values wrapped in `<natural>`,
 since they weren't relations.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36769#comment:11>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019bb425828c-90982f34-7fd9-413f-a991-11f0b9f00f67-000000%40eu-central-1.amazonses.com.

Reply via email to