Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#28932 closed Bug (fixed)

DecimalFields truncates trailing zeros on Oracle.

Reported by: Mariusz Felisiak Owned by: Sergey Fedoseev
Component: Database layer (models, ORM) Version: dev
Severity: Normal Keywords: oracle decimal
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Oracle automatically removes trailing zeros from NUMBER fields, we should probably restore decimal field converter on Oracle, removed in

Change History (3)

comment:1 Changed 5 years ago by Sergey Fedoseev

Has patch: set
Owner: changed from nobody to Sergey Fedoseev
Triage Stage: UnreviewedAccepted

comment:2 Changed 5 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: assignedclosed

In c8a85e3e:

Fixed #28932 -- Prevented Oracle from truncating trailing zeros in the fractional part of DecimalField.

Fixes the test added in 6fd6d8383f48ea2fe4e058725fa30529a083e9a5.
Regression in 7c1f3901bcdabb1340a621e7df9b24f3acd0d6f3.

comment:3 Changed 5 years ago by Tim Graham <timograham@…>

In 7c939ae:

[2.0.x] Refs #28932 -- Skipped the failing test for refs #28915 on Oracle.

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