Ticket Details

apc_store expects ttl to be a number of seconds, rather than a timestamp

BUG Ticket (closed)

###What happened:
- /test/lithium/tests/cases/storage fails for APC due to the API passing strtotime($expiry) as the ttl. The value is too large (at least on my own install) and the value doesn't get stored.


###What was expected:
- it should pass strtotime($expiry) - date('U') instead


http://rad-dev.org/forks/ddebernardy/lithium/commits/view/4db25dc7b51ecbe49cff3a51630668ae003145df

on 08.24.10 reported by: ddebernardy owned by: nate

Updates

on 08.28.10 by ddebernardy
  • id was changed to 249
  • number was changed to 138
  • owner was removed
  • type was changed to bug
  • priority was changed to low
  • title was changed to apc_store expects ttl to be a number of seconds, rather than a timestamp
  • description was changed
Tickets #108 and #110 are, I believe, due to the same design mistake.
on 08.28.10 by jperras
Fixed in [4be88d760687a87d44004c914638b5fc3796201c]. Thanks for catching this.
on 08.29.10 by ddebernardy
I believe this should be closed. ;-)
(fixed) on 08.29.10 by nate
  • owner was changed to nate
  • status was changed to closed
  • resolution was changed to fixed
Grazie.