Skip to content

Commit

Permalink
Fix problem with stof extension bundle metadata cache
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Jul 13, 2023
1 parent 55f4179 commit b6a3e70
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"scheb/2fa-bundle": "^6.1",
"scheb/2fa-email": "^6.1",
"scheb/2fa-trusted-device": "^6.1",
"stof/doctrine-extensions-bundle": "^1.8",
"sulu/sulu": "~2.5.9",
"symfony/config": "^6.2",
"symfony/dotenv": "^6.2",
Expand Down
8 changes: 8 additions & 0 deletions config/packages/stof_doctrine_extensions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,11 @@
# See the official DoctrineExtensions documentation for more details: https://github.com/doctrine-extensions/DoctrineExtensions/tree/main/doc
stof_doctrine_extensions:
default_locale: '%default_locale%'

when@prod: &prod
stof_doctrine_extensions:
# fix issue with gedmo/extensions 1.8.0 and stof/doctrine-extensions-bundle: 3.12.0
# @see https://github.com/stof/StofDoctrineExtensionsBundle/issues/457
metadata_cache_pool: doctrine.system_cache_pool

when@stage: *prod

0 comments on commit b6a3e70

Please sign in to comment.