You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 16, 2021. It is now read-only.
Hi,
The AutoRouteManager translates Documents onFlush to any available locale in order to generate their Uri:
Line 101: $this->adapter->translateObject($uriContextCollection->getSubjectObject(), $locale);
But does not translate them back to the translation they had right before they were persisted/flushed.
In my case this leads to that I need to translate my object back:
$document = $dm->findTranslation(null, '/cms/document', 'de'); // => available locales: en, de $document->setTitle('New title');