- 🇨🇦Canada Liam Morland Ontario, CA 🇨🇦
I got this error even with the force option checked. I was able to work around it by moving the
content_moderation_state
directory away, doing an import, putting that directory back in place, and running the update again. - 🇨🇦Canada joseph.olstad
I have the same issue as @liam morland
about to test the workaround which is to move the content_moderation_state directory away during the first import and putting it back for another import. - 🇩🇪Germany mkalkbrenner 🇩🇪
If you do an export in an empty directory, there should be no issue.
Bur "updating" an export folder did never deal with deletions and force-export is the only workaround.If you want to "update" existing exports or export contineously, you should enable and leverage the search_api_default_content_deploy submodule!
This module leverages the Search API tracker infrastructure to track entity changes and updates your exports. It can also handle deletions.
And in 2.2.x, the importer can deal with deletions as well. And supports incremental imports, etc.BTW I will talk about that at Drupal Con Vienna.