Details
-
Bug
-
Resolution: Unresolved
-
High
-
None
-
1.12.1
-
None
Description
After upgrading from ezplatform 1.12 (kernel 6.12.0.2) to 1.12.1 (kernel 6.12.1) the languages array from the configResolver is empty:
$configResolver->getParameter('languages');
In addition the url alias for locations other than eng-GB is not working:
(/view/content/13638/full/1/13626 instead of nice url)
Url aliases of locations with ger-DE and eng-GB are displayed with their eng-GB url alias, but content is displayed as ger-DE.
Required bundles in composer.json:
"php": "~5.6|~7.0", "symfony/symfony": "2.8.31", "twig/extensions": "1.5.1", "symfony/assetic-bundle": "2.8.2", "symfony/swiftmailer-bundle": "2.6.7", "symfony/monolog-bundle": "3.1.2", "sensio/distribution-bundle": "5.0.21", "sensio/generator-bundle": "3.1.6", "incenteev/composer-parameter-handler": "2.1.2", "tedivm/stash-bundle": "0.6.2", "ezsystems/ezpublish-kernel": "6.12.1", "ezsystems/repository-forms": "1.10.0", "ezsystems/ezplatform-solr-search-engine": "1.5.1", "ezsystems/platform-ui-bundle": "1.12.1", "ezsystems/ez-support-tools": "0.1.3", "ezsystems/ezplatform-http-cache": "0.2.4", "ezplatform-i18n/ezplatform-i18n-ach_ug": "1.4.0", "ezsystems/ezplatform-multi-file-upload": "0.1.3", "ezsystems/ezplatform-design-engine": "1.1.0", "egulias/listeners-debug-command-bundle": "1.9.1", "white-october/pagerfanta-bundle": "1.0.8", "hautelook/templated-uri-bundle": "2.0.1", "doctrine/doctrine-bundle": "1.8.1", "symfony/expression-language": "~2.4", "sensio/framework-extra-bundle": "3.0.28", "ezsystems/content-on-the-fly-prototype": "0.1.11", "willdurand/js-translation-bundle": "2.6.5", "roave/security-advisories": "dev-master", "ezsystems/legacy-bridge": "1.4.5", "netgen/richtext-datatype-bundle": "1.1.0", "netgen/enhanced-selection-bundle": "3.1.0", "ezsystems/ezplatform-xmltext-fieldtype": "1.5.0", "netgen/enhancedselection2": "2.0.2", "dzango/twig-truncate-bundle": "1.0.4"
ezplatform.yml configuration:
ezpublish: # HttpCache settings, By default 'local' (Symfony HttpCache Proxy), by setting it to 'http' you can point it to Varnish http_cache: purge_type: '%purge_type%' # Repositories configuration, setup default repository to support solr if enabled repositories: default: storage: ~ search: engine: '%search_engine%' connection: default # Siteaccess configuration, with one siteaccess per default siteaccess: list: [mediabase_de] groups: mediabase_group: [mediabase_de] default_siteaccess: mediabase_de match: URIElement: 1 # System settings, grouped by siteaccess and/or siteaccess group system: mediabase_group: # Pool to use for cache, needs to be different per repository (database). cache_pool_name: '%cache_pool%' # These reflect the current installers, complete installation before you change them. For changing var_dir # it is recommended to install clean, then change setting before you start adding binary content, otherwise you'll # need to manually modify your database data to reflect this to avoid exceptions. var_dir: var # System languages. Note that by default, content, content types, and other data are in eng-GB locale, # so removing eng-GB from this list may lead to errors or content not being shown, unless you change # all eng-GB data to other locales first. languages: [ger-DE, eng-GB] content: # As we by default enable EzSystemsPlatformHttpCacheBundle which is designed to expire all affected cache # on changes, and as error / redirects now have separate ttl, we easier allow ttl to be greatly increased default_ttl: '%httpcache_default_ttl%' tree_root: location_id: 61 # HttpCache purge server(s) setting, eg Varnish, for when ezpublish.http_cache.purge_type is set to 'http'. http_cache: purge_servers: ['%purge_server%'] mediabase_de: languages: [ger-DE]