Skip to content

Commit

Permalink
Fix out of memory exceptions on eZ Platform v2
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Nov 21, 2017
1 parent 7359e11 commit 86d38f3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
3 changes: 3 additions & 0 deletions bundle/Resources/config/pagerfanta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ services:
eztags.pagerfanta.view.eztags_admin:
class: Netgen\TagsBundle\Core\Pagination\Pagerfanta\View\TagsAdminView
public: false
# Not being lazy results in out of memory exceptions on eZ Platform 2.0,
# probably due to @twig dependency
lazy: true
arguments:
- "@twig"
calls:
Expand Down
5 changes: 5 additions & 0 deletions bundle/Resources/doc/CHANGELOG-3.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Netgen Tags Bundle 3.1 changelog
================================

3.1.4 (21.11.2017)
------------------

* Make the Pagerfanta view lazy to prevent out of memory exceptions

3.1.3 (21.11.2017)
------------------

Expand Down
6 changes: 3 additions & 3 deletions bundle/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

abstract class Version
{
const VERSION = '3.1.3';
const VERSION_ID = 30103;
const VERSION = '3.1.4';
const VERSION_ID = 30104;
const MAJOR_VERSION = 3;
const MINOR_VERSION = 1;
const RELEASE_VERSION = 3;
const RELEASE_VERSION = 4;
const EXTRA_VERSION = '';
}

0 comments on commit 86d38f3

Please sign in to comment.