Re: [Django] #34586: create() does not save reverse OneToOne relationship nor raise an Exception

0 views
Skip to first unread message

Django

unread,
Jul 21, 2023, 11:37:09 AM7/21/23
to django-...@googlegroups.com
#34586: create() does not save reverse OneToOne relationship nor raise an Exception
-------------------------------------+-------------------------------------
Reporter: Alan Rivas | Owner: (none)
Type: Bug | Status: new
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariana):

* owner: stimver => (none)
* status: assigned => new


--
Ticket URL: <https://code.djangoproject.com/ticket/34586#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jul 21, 2023, 11:37:18 AM7/21/23
to django-...@googlegroups.com
#34586: create() does not save reverse OneToOne relationship nor raise an Exception
-------------------------------------+-------------------------------------
Reporter: Alan Rivas | Owner: Mariana
Type: Bug | Status: assigned

Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariana):

* owner: (none) => Mariana
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/34586#comment:4>

Django

unread,
Jul 31, 2023, 9:43:03 AM7/31/23
to django-...@googlegroups.com
#34586: create() does not save reverse OneToOne relationship nor raise an Exception
-------------------------------------+-------------------------------------
Reporter: Alan Rivas | Owner: Mariana
Type: Bug | Status: assigned
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariana):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/17112 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/34586#comment:5>

Django

unread,
Jul 31, 2023, 9:56:40 AM7/31/23
to django-...@googlegroups.com
#34586: create() does not save reverse OneToOne relationship nor raise an Exception
-------------------------------------+-------------------------------------
Reporter: Alan Rivas | Owner: Mariana
Type: Bug | Status: assigned
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/34586#comment:6>

Django

unread,
Aug 6, 2023, 8:13:43 PM8/6/23
to django-...@googlegroups.com
#34586: create() does not save reverse OneToOne relationship nor raise an Exception
-------------------------------------+-------------------------------------
Reporter: Alan Rivas | Owner: Mariana
Type: Bug | Status: assigned
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariana):

* needs_better_patch: 1 => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/34586#comment:7>

Django

unread,
Aug 8, 2023, 3:02:21 AM8/8/23
to django-...@googlegroups.com
#34586: create() does not save reverse OneToOne relationship nor raise an Exception
-------------------------------------+-------------------------------------
Reporter: Alan Rivas | Owner: Mariana
Type: Bug | Status: assigned
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/34586#comment:8>

Django

unread,
Aug 9, 2023, 12:58:32 AM8/9/23
to django-...@googlegroups.com
#34586: create() does not save reverse OneToOne relationship nor raise an Exception
-------------------------------------+-------------------------------------
Reporter: Alan Rivas | Owner: Mariana
Type: Bug | Status: assigned
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/34586#comment:9>

Django

unread,
Aug 9, 2023, 1:36:16 AM8/9/23
to django-...@googlegroups.com
#34586: create() does not save reverse OneToOne relationship nor raise an Exception
-------------------------------------+-------------------------------------
Reporter: Alan Rivas | Owner: Mariana
Type: Bug | Status: closed

Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"e02fc588893485e5f5e509cdb67c63d8e1a45b31" e02fc588]:
{{{
#!CommitTicketReference repository=""
revision="e02fc588893485e5f5e509cdb67c63d8e1a45b31"
Fixed #34586 -- Made QuerySet.create() raise ValueError for reverse one-
to-many relations.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/34586#comment:10>

Reply all
Reply to author
Forward
0 new messages