Skip to content

Translatable not working after updateΒ #316

@erwin-gimmick

Description

@erwin-gimmick
        "name": "stof/doctrine-extensions-bundle",
        "version": "v1.2.2",

Composer lock content.
"name": "symfony/symfony",
"version": "v2.8.0",

        "name": "gedmo/doctrine-extensions",
        "version": "v2.4.13",

        "name": "doctrine/orm",
        "version": "v2.4.8",

After update, the translatable is not working anymore. I am not sure if I made a mistake by configuration. Because the bundle is working just fine until composer update.

The translation entity
Doctrine\ORM\Mapping\MappingException
"No identifier/primary key specified for Entity "App\CoreBundle\Entity\CategoryTranslation". Every Entity must have an identifier/primary key."

I have actually more than one translation entities until now. change the value of auto_mapping to false
leads to
" The class 'App\UserBundle\Entity\User' was not found in the chain configured namespaces Gedmo\Translatable\Entity, Gedmo\Translator\Entity, FOS\UserBundle\Model"

It might not be issue, but I found no solutions on stackoverflow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions