Zend Framework

Zend_Cache_Core::test() may return integer when using File backend

Details

  • Type: Docs:  Improvement Docs: Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.9.7
  • Component/s: Zend_Cache
  • Labels:
    None

Description

This may be documentation issue more than anything else, but Zend_Cache_Core::test() with a File backend returns an integer instead of a boolean when the id exists.

Version: trunk r11883

Issue Links

Activity

Hide
Fabien MARTY added a comment -

it's the last modified timestamp

so it is normal

but the documentation is not clear, I agree

so I change your issue into a documentation improvement

thanks

Show
Fabien MARTY added a comment - it's the last modified timestamp so it is normal but the documentation is not clear, I agree so I change your issue into a documentation improvement thanks
Hide
Fabien MARTY added a comment -

change Assignee because I'm inactive now

Show
Fabien MARTY added a comment - change Assignee because I'm inactive now
Hide
Menno Luiten added a comment -

Attached patch that changes API documentation on Zend_Cache_Core and Zend_Cache_Frontend_File regarding this issue.

Show
Menno Luiten added a comment - Attached patch that changes API documentation on Zend_Cache_Core and Zend_Cache_Frontend_File regarding this issue.
Hide
Menno Luiten added a comment -

Resolved in r19781. Thank you.

Show
Menno Luiten added a comment - Resolved in r19781. Thank you.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: