2016-05-31 12 views
0

Nach dem Upgrade meines Projekts von symfony 2.3 2.8 bis symfony ich folgende FehlerSymfony 2.8 - nicht erkannte Option "default_mapping" unter sylius_translation

Unrecognized option "default_mapping" under "sylius_translation" 

Meine config.yml Datei zu erhalten ist

sylius_translation: 
    default_mapping: 
     translatable: 
      field: translations 
      currentLocale: currentLocale 
      fallbackLocale: fallbackLocale 
     translation: 
      field: translatable 
      locale: locale 

Can jemand mir Einblick geben?

+0

haben Sie das Bündel in 'AppKernel.php' aktiviert? – zizoujab

+0

Ja, es ist aktiviert. Es funktionierte in meiner vorherigen Symfony Version 2.3 gut –

Antwort

1

Probieren Sie etwas wie dies mit:

sylius.translation.default.mapping: 
    translatable: 
     ... 
    translation: 
     ...