LexikTranslationBundle icon indicating copy to clipboard operation
LexikTranslationBundle copied to clipboard

Mapping for multiple entity managers doesn't work.

Open idchlife opened this issue 9 years ago • 2 comments

If I'm using multiple entity managers and config like this:

image

My code won't recognise translation entities

idchlife avatar Sep 21 '16 08:09 idchlife

Hi, it does not work because the model classes mapping is loaded only for the manager defined in:

lexik_translation:
    storage:
        object_manager: default 

cedric-g avatar Sep 30 '16 07:09 cedric-g

@cedric-g you mean theoretically the proper way is defined this config in the config.yml and

lexik_translation:
storage:
    object_manager: test

in the config_test.yml?

idchlife avatar Sep 30 '16 08:09 idchlife