- Issue created by @jaydenpearly
- 🇮🇳India ashetkar
Please try patch mentioned in below thread @jaydenpearly
https://www.drupal.org/project/drupal/issues/2321071 🐛 BaseFieldOverride fails to take into account ContentEntityInterface::bundleFieldDefinitions() when invoking onFieldDefinitionUpdate() Needs work . - 🇬🇧United Kingdom jaydenpearly
Hi @ashetkar,
Thanks for reply but it didn't worked for me.
I found another way, which I don't know if it's really a solution.
My project is multilingual.
Once you empty the entire translation folder (all en-es-fr po files), the "Undefined array key moderation_state..." warning disappears and the configuration import is completed. I don't know what it has to do with this warning. I have the same issue with Drupal 10.3.0 (and 10.2.x).
My website is also a multilanguage one and "drush cim" fail on content moderation field import.
The last patch in the proposed thread generates a different error. In the thread they mention that the moderation state field is not a translatable one and this is probabably the cause of the error.
- 🇧🇪Belgium dtfabio Ninove
I had the same problem with my Drupal 10.2.0 site after I wanted to re-import from a DB snapshot in ddev.
I started from a snapshot just before adding the translations and it kept failing to import the config.
The solution from the ticket linked here by n.dhuygelaere also solved my problem.
- Status changed to Closed: duplicate
3 months ago 9:49pm 19 October 2024