Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Cache: Now an empty namespace means disabling namespace support #3212

Closed
wants to merge 8 commits into from
Closed

Cache: Now an empty namespace means disabling namespace support #3212

wants to merge 8 commits into from

Conversation

marc-mabe
Copy link
Member

Now an empty namespace means disabling namespace support

  • Namespace prefixes of empty namespaces are empty (no namespace separator)
  • Some optimisations on empty namespaces
  • Empty namespaces on "clearByNamespace" throws an InvalidArgumentException
  • Empty prefixes on "clearByPrefix" throws an InvalidArgumentException
  • Support for "clearByNamespace" on memory adapter

@weierophinney: This is a new PR to get merged into the develop branch. This also fixes the issue with testGetTotalSpace of the memory adapter and the missing exception of the session adapter :)

Old PR: #2931

- Namespace prefixes of empty namespaces are empty (no namespace separator)
- Some optimisations on empty namespaces
- Empty namespaces on "clearByNamespace" throws an InvalidArgumentException
- Empty prefixes on "clearByPrefix" throws an InvalidArgumentException
- Support for "clearByNamespace" on memory adapter
@ghost ghost assigned weierophinney Dec 13, 2012
weierophinney added a commit to zendframework/zend-cache that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants