Code

Opened 5 years ago

Closed 4 years ago

Last modified 3 years ago

#11483 closed (fixed)

DB Cache backend should use value_to_db_datetime() on datetime values

Reported by: leosoto Owned by: nobody
Component: Core (Cache system) Version: 1.0
Severity: Keywords: jython
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

As it is now, it fails with backends which need to convert the datetime value to a specific data type (such as JDBC backends on Jython)

Attachments (1)

dbcachebackend.patch (2.2 KB) - added by leosoto 5 years ago.

Download all attachments as: .zip

Change History (7)

Changed 5 years ago by leosoto

comment:1 Changed 5 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 5 years ago by thejaswi_puthraya

  • Component changed from Uncategorized to Cache system

comment:3 Changed 4 years ago by russellm

  • milestone set to 1.2

comment:4 Changed 4 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

(In [12411]) Fixed #11483 -- Modified db cache backend to use db backend functions for date conversion, avoiding problems under Jython. Thanks to Leo Soto for the report and patch.

comment:5 Changed 4 years ago by russellm

(In [12415]) [1.1.X] Fixed #11483 -- Modified db cache backend to use db backend functions for date conversion, avoiding problems under Jython. Thanks to Leo Soto for the report and patch.

Merge of r12411 from trunk.

comment:6 Changed 3 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.