Skip to content

Commit

Permalink
Fix problem with stof extension bundle metadata cache (#224)
Browse files Browse the repository at this point in the history
* Fix problem with stof extension bundle metadata cache

* Fix windows task
  • Loading branch information
alexander-schranz authored Jul 13, 2023
1 parent 55f4179 commit a514be7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ jobs:
SULU_ADMIN_EMAIL:
DATABASE_URL: mysql://root:[email protected]:3306/sulu_test?serverVersion=${{ matrix.mysql-version }}
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LOCK_DSN: flock

strategy:
fail-fast: false
Expand Down
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 a514be7

Please sign in to comment.