#34554 closed Bug (fixed)

Reverse(Value(...)) crashes on Oracle.

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

Description

Reverse(Value("some static string")) crashes on Oracle:

  File "/django/django/db/backends/oracle/base.py", line 546, in _fix_for_params
    query %= tuple(args)
TypeError: not enough arguments for format string

Noticed when checking which functions will crash in Field.db_default on Oracle.

Change History (4)

comment:1 by Mariusz Felisiak, 14 months ago

comment:2 by Mariusz Felisiak, 14 months ago

Has patch: set

comment:3 by David Sanders, 14 months ago

Triage Stage: UnreviewedAccepted

comment:4 by GitHub <noreply@…>, 14 months ago

Resolution: fixed
Status: assignedclosed

In 6e32d1f:

Fixed #34554 -- Fixed Reverse(Value(…)) crash on Oracle.

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