Re: [Django] #34014: DecimalValidator fails to validate 0 in scientific notation (0E+1 or 0E+2)

12 views
Skip to first unread message

Django

unread,
Sep 16, 2022, 2:59:10 AM9/16/22
to django-...@googlegroups.com
#34014: DecimalValidator fails to validate 0 in scientific notation (0E+1 or 0E+2)
-------------------------------------+-------------------------------------
Reporter: Shiplu Mokaddim | Owner: Kamil
| Turek
Type: Bug | Status: assigned
Component: Core (Other) | Version: 2.0
Severity: Normal | Resolution:
Keywords: DecimalValidator, | Triage Stage: Accepted
Decimal, DecimalField |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Kamil Turek):

* owner: nobody => Kamil Turek
* status: new => assigned


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

Django

unread,
Sep 16, 2022, 4:00:15 PM9/16/22
to django-...@googlegroups.com
#34014: DecimalValidator fails to validate 0 in scientific notation (0E+1 or 0E+2)
-------------------------------------+-------------------------------------
Reporter: Shiplu Mokaddim | Owner: Kamil
| Turek
Type: Bug | Status: assigned
Component: Core (Other) | Version: 2.0
Severity: Normal | Resolution:
Keywords: DecimalValidator, | Triage Stage: Ready for
Decimal, DecimalField | checkin
Has patch: 1 | Needs documentation: 0

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

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


Comment:

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

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

Django

unread,
Sep 17, 2022, 3:56:24 AM9/17/22
to django-...@googlegroups.com
#34014: DecimalValidator fails to validate 0 in scientific notation (0E+1 or 0E+2)
-------------------------------------+-------------------------------------
Reporter: Shiplu Mokaddim | Owner: Kamil
| Turek
Type: Bug | Status: assigned
Component: Core (Other) | Version: 2.0
Severity: Normal | Resolution:
Keywords: DecimalValidator, | Triage Stage: Accepted
Decimal, DecimalField |

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* stage: Ready for checkin => Accepted


Comment:

You shouldn't mark your own PRs as RFC (see
[https://docs.djangoproject.com/en/stable/internals/contributing/triaging-
tickets/#ready-for-checkin docs]).

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

Django

unread,
Sep 17, 2022, 4:11:27 AM9/17/22
to django-...@googlegroups.com
#34014: DecimalValidator fails to validate 0 in scientific notation (0E+1 or 0E+2)
-------------------------------------+-------------------------------------
Reporter: Shiplu Mokaddim | Owner: Kamil
| Turek
Type: Bug | Status: assigned
Component: Core (Other) | Version: 2.0
Severity: Normal | Resolution:
Keywords: DecimalValidator, | Triage Stage: Ready for
Decimal, DecimalField | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* stage: Accepted => Ready for checkin


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

Django

unread,
Sep 17, 2022, 8:27:42 AM9/17/22
to django-...@googlegroups.com
#34014: DecimalValidator fails to validate 0 in scientific notation (0E+1 or 0E+2)
-------------------------------------+-------------------------------------
Reporter: Shiplu Mokaddim | Owner: Kamil
| Turek
Type: Bug | Status: closed

Component: Core (Other) | Version: 2.0
Severity: Normal | Resolution: fixed

Keywords: DecimalValidator, | Triage Stage: Ready for
Decimal, DecimalField | 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:"ae509f8f0804dea0eea89e27329014616c9d4cc0" ae509f8f]:
{{{
#!CommitTicketReference repository=""
revision="ae509f8f0804dea0eea89e27329014616c9d4cc0"
Fixed #34014 -- Fixed DecimalValidator validating 0 in positive exponent
scientific notation.

Thanks Shiplu Mokaddim for the report.
}}}

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

Reply all
Reply to author
Forward
0 new messages