- Issue created by @tivi22
I have a problem when using the Path alias processor
together with translatable entities. In some cases, this processor is not syncing URL aliases (they are empty, although they are provided on the server).
URL alias
for both of them.URL alias
should be valid here).URL alias
should be missing here).I've found a problem in the entity_share/modules/entity_share_client/src/Plugin/EntityShareClient/Processor/PathAliasProcessor.php
file in the prepareImportableEntityData
method. It doesn't take into consideration translations, it just looks for an entity by its UUID and if it finds it, it unsets $path['pid']
and exits.
And since there's already an entity in English with this UUID, other translations are being treated as existing ones, so there is no URL alias
being created for them.
Active
3.0
Entity Share Client