kaliop-uk / ezmigrationbundle

This bundle makes it easy to handle eZPlatform / eZPublish5 content upgrades/migrations
GNU General Public License v2.0
53 stars 81 forks source link

Content Type Manager: Update removes Name/Description translations #125

Closed blankse closed 7 years ago

blankse commented 7 years ago

If I translate the name/description fields with an update, the other translations will be removed.

gggeek commented 7 years ago

Interesting find. Do you have a migration that I could use as test ?

blankse commented 7 years ago

After this migration the content type should have only a german language: https://gist.github.com/blankse/e17f5c1990595de9b2d0c83a85b6b2b7

blankse commented 7 years ago

Besides the main language will changed of course... So I must make another step to set it back.

Would it not be better, if we can set associative arrays to name and description with language keys? So we can hold the main language to eng-GB and we can set all languages in one step.

gggeek commented 7 years ago

Tbh when the migration bundle started it was pretty much monolingual. We added support for different languages progressively, but it is definitely not perfect yet. I do appreciate any suggestion (and testing) from from fellow devs... but might not have time to dig into this for at least a few days

blankse commented 7 years ago

I create a own PR for my improvement thought https://github.com/kaliop-uk/ezmigrationbundle/pull/126

blankse commented 7 years ago

Close in favor of https://github.com/kaliop-uk/ezmigrationbundle/pull/126