* needs_better_patch: 0 => 1
* ui_ux: => 0
* easy: => 0
Comment:
Patch no longer cleanly applies to trunk.
--
Ticket URL: <https://code.djangoproject.com/ticket/13085#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: benreynwar =>
--
Ticket URL: <https://code.djangoproject.com/ticket/13085#comment:8>
Comment (by ramiro):
#14325 and #19494 were duplicates.
--
Ticket URL: <https://code.djangoproject.com/ticket/13085#comment:9>
Comment (by ramiro):
See also #13137.
--
Ticket URL: <https://code.djangoproject.com/ticket/13085#comment:10>
* owner: => Ramiro Morales <cramm0@…>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"04d9730b127c689b8eda01cbc913efa6e2eb230b"]:
{{{
#!CommitTicketReference repository=""
revision="04d9730b127c689b8eda01cbc913efa6e2eb230b"
Fixed #13085 -- Don't fail on creation of model with GFK to a model with
__len__() returning zero.
Also, according to the comments on the ticket and its duplicates, added
tests execising saving an instance of a model with a GFK to:
* An unsaved object -- This actually doesn't generate the same failure
but another ORM-level exception. The test verifies it's the case.
* An instance of a model with a __nonzero__() method thant returns False
for it. This doesn't fail because that code path isn't executed.
* An instance of a model with a CharField PK and an empty value for it.
This doesn't fail.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/13085#comment:11>
Comment (by GitHub <noreply@…>):
In [changeset:"1ed8ca43f61138b8f8d6f92106c27060753ed4e7" 1ed8ca43]:
{{{
#!CommitTicketReference repository=""
revision="1ed8ca43f61138b8f8d6f92106c27060753ed4e7"
Refs #13085 -- Removed unnecessary ManyToManyFields from
generic_relations_regress test models.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/13085#comment:12>