Ticket #563 (closed Feature Request: fixed)

Opened 6 months ago

Last modified 3 months ago

Cache driver File and APC return different value if cache empty

Reported by: Igor Owned by: Geert
Priority: minor Milestone: 2.2
Component: Libraries:Cache Version: SVN HEAD
Keywords: Cc:

Description

If cache not exist, then ->get return: File driver return: null APC driver return: false

Why? Maybe use one value - FALSE;

Change History

Changed 6 months ago by Igor

  • owner changed from Shadowhand to - No owner -
  • component changed from Core to Libraries:Cache
  • milestone changed from 2.1.2 to 2.2

Changed 3 months ago by Geert

  • owner changed from - No owner - to Geert
  • status changed from new to assigned

Changed 3 months ago by Geert

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in r2999. All drivers now return FALSE if the cache item is not found. Thanks, Igor.

Changed 3 months ago by Geert

  • status changed from closed to reopened
  • resolution deleted

Quote Shadowhand: what happens when i want to cache the value FALSE?

Changed 3 months ago by Geert

  • status changed from reopened to closed
  • resolution set to fixed

Fixed in r3135.

Note: See TracTickets for help on using tickets.