Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tag for preview cache (ezsystems#153)
* Update tag for purging preview cache The admin preview function does not display the draft content that is currently being edited, this is because the preview cache is not purged, and the preview function always fetches content from the view cache, refer to ezsystems/ezpublish-kernel#2396 for details. To fix this issue, `PersistenceCachePurger.php::contentVersion()` has been changed to invalidate cache with the new tags. | Question | Answer | ------------------ | ------------------ | **JIRA issue** | n/a | **Bug** | yes | **New feature** | no | **Target version** | `v2.0.0` | **BC breaks** | no | **Tests pass** | yes | **Doc needed** | no **TODO**: - [ ] Implement feature / fix a bug. - [ ] Implement tests. - [ ] Fix new code according to Coding Standards (`$ composer fix-cs`). - [x] Ask for Code Review. * Update PersistenceCachePurger.php * Update PersistenceCachePurgerTest.php
- Loading branch information