Code

Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#8410 closed (fixed)

memcache backend add method is inconsistent with it's other methods

Reported by: trbs Owned by: nobody
Component: Core (Cache system) Version: master
Severity: Keywords: memcached, consistency, add
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Split of from #7460 [1]

The add method of the memcached backend uses a different approach for it's key/value pair then the other methods.

Seems to be 'left' over from past changes/fixes ?

Patch attached here aims to make 'add' consistent in terms of handling the key/value pair as it's brother the 'set' method.

[1] http://code.djangoproject.com/ticket/7460

Attachments (1)

patch-django.core.backends.memcached-8410.diff (684 bytes) - added by trbs 6 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 6 years ago by mtredinnick

  • milestone set to 1.0
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 6 years ago by mtredinnick

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

(In [8444]) Fixed #8410 -- Added a missing piece of value encoding for the memcached
backend. Patch from trbs.

comment:3 Changed 3 years ago by jacob

  • milestone 1.0 deleted

Milestone 1.0 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.