#26324: DurationField stores certain values incorrectly in sqlite
-------------------------------------+-------------------------------------
Reporter: chausner | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 1.8
(models, ORM) |
Severity: Release blocker | Resolution:
Keywords: sqlite, | Triage Stage: Accepted
DurationField |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timgraham):
* version: 1.9 => 1.8
* severity: Normal => Release blocker
* stage: Unreviewed => Accepted
Comment:
[https://github.com/django/django/blob/de8a11ba18d5902c668d4db47c38c9c6bdf9c1da/django/db/backends/base/operations.py#L545-L549
Problem seems to be] in `parse_duration()`. It can't parse the resulting
value and so converts it to `None`.
Accepting as a release blocker due to possible data corruption. Regression
test attached.
--
Ticket URL: <https://code.djangoproject.com/ticket/26324#comment:2>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.b99341181b96521e79f28db7abc391a6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.