Witam, od 3 dni się męczę i nic z małym problemem.

Problem dotyczy symfony 2 i Doctrine Extensions

Strona działa, pobrałem potrzebne elementy dla doctrine zgodnie z opisem
https://github.com/stof/StofDoctrineExtensi...s/doc/index.rst

Dodałem odpowiednie linie w plikach i konfigu
  1. doctrine:
  2. dbal:
  3. driver: %database_driver%
  4. host: %database_host%
  5. port: %database_port%
  6. dbname: %database_name%
  7. user: %database_user%
  8. password: %database_password%
  9. charset: UTF8
  10.  
  11. orm:
  12. mappings:
  13. StofDoctrineExtensionsBundle: ~
  14. FrontDefaultBundle: ~
  15. auto_generate_proxy_classes: %kernel.debug%
  16.  
  17. stof_doctrine_extensions:
  18. orm:
  19. default:
  20. translatable: true


  1. new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
  2.  
  3. 'Stof' => __DIR__.'/../vendor/bundles',
  4. 'Gedmo' => __DIR__.'/../vendor/gedmo-doctrine-extensions/lib',


utworzyłem plik yml z strukturą
  1. Front\DefaultBundle\Entity\Article:
  2. type: entity
  3. table: articles
  4. gedmo:
  5. translation:
  6. locale: localeField
  7. id:
  8. id:
  9. type: integer
  10. generator:
  11. strategy: AUTO
  12. fields:
  13. title:
  14. type: string
  15. length: 64
  16. gedmo:
  17. - translatable
  18. content:
  19. type: text
  20. gedmo:
  21. - translatable
  22.  



i wywołałem z konsoli polecenie do generowania klasy
app/console doctrine:generate:entities FrontDefaultBundle

wygenerowała się standardowa klasa ignorująca wpisy i translatabel

Czy coś pominąłem podczas łączenia rozszerzeń