#7682: edit_inline issues error(s) incorrectly when going from revision 7710 to
TRUNK
--------------------------------------+-------------------------------------
Reporter: jleingang | Owner: nobody
Status: new | Milestone:
Component: Admin interface | Version: SVN
Resolution: | Keywords: edit_inline validation
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Changes (by Karen Tracey <[EMAIL PROTECTED]>):
* stage: Unreviewed => Accepted
Comment:
This bug seems to have been introduced in r7790. Specifically I think the
changes to how unique is calculated in django.db.models.!__init!__.py
around line 170 is causing the manipulator_validator_unique validator to
be associated with the hidden input primary key fields for inline-edited
objects, but that validator looks up the primary key in the parent
object's table, not the inline-edited object's table, so its results are
incorrect.
--
Ticket URL: <http://code.djangoproject.com/ticket/7682#comment:2>
Django Code <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---