Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#30177 closed Bug (fixed)

format_number() crashes when the number has over 200 digits

Reported by: Tim Graham Owned by: nobody
Component: Utilities Version: 2.0
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Only Django 2.0.x is affected. The incorrect patch was applied in 1f42f82566c9d2d73aff1c42790d6b1b243f7676. use_l10n is undefined.

Change History (5)

comment:1 Changed 8 months ago by Tim Graham

Has patch: set

comment:2 Changed 8 months ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In 392e0406:

[2.0.x] Fixed #30177 -- Fixed format_number() crash with over 200 digits.

There are existing test failures. The incorrect patch was applied
in 1f42f82566c9d2d73aff1c42790d6b1b243f7676.

comment:3 Changed 8 months ago by Tim Graham <timograham@…>

In 1b8f552:

Refs #30177 -- Forwardported 2.0.13 release notes.

comment:4 Changed 8 months ago by Tim Graham <timograham@…>

In f548ac7:

[2.2.x] Refs #30177 -- Forwardported 2.0.13 release notes.

Backport of 1b8f552b08eb7642be598ba7512e7eaecefbdc6d from master.

comment:5 Changed 8 months ago by Tim Graham <timograham@…>

In 5c2b94a:

[2.1.x] Refs #30177 -- Forwardported 2.0.13 release notes.

Backport of 1b8f552b08eb7642be598ba7512e7eaecefbdc6d from master.

Note: See TracTickets for help on using tickets.
Back to Top