Closed gremo closed 2 years ago
hi @gremo, can you please try to upgrade gedmo/doctrine-extensions
to the latest version or at least 3.3.1
to see if it works?
Hi @franmomu thanks for the input, you made my day!!! I updatedgedmo/doctrine-extensions
to3.3.1
and doctrine/orm
to 2.10.4
(to avoid a conflict) and now it's working again.
Are you aware of some kind of bug?
you're welcome, the thing is that doctrine/orm
replaced spl_object_hash
calls by spl_object_id
calls in https://github.com/doctrine/orm/pull/8837 and that broke some things in gemo/doctrine-extensions
that were fixed in https://github.com/doctrine-extensions/DoctrineExtensions/pull/2272 and released in 3.3.0
.
By the way, looking at the code:
use Sonata\TranslationBundle\Model\Gedmo\TranslatableInterface;
use Sonata\TranslationBundle\Traits\Gedmo\TranslatableTrait;
these were deprecated, just in case you want to upgrade to 3.0
(not released yet).
I'm closing the issue since it's resolved.
Libraries version (only show relevant ones):
Configuration:
Admin works just fine (flags are shown, fields are saved, etc.) but... when I switch the tab to English, and then save, the value in Italian gets overridden:
I'm using this bundle since years and never had any kind of problem. Here is the example entity: