I have ignored certain keys for some configs (done using this feature https://www.drupal.org/project/config_ignore/issues/2896753)
config_entity_name.*:key

1. I create a new entity of this type
2. Then run configs import and expecting that new entity will be deleted, because I didn't export that yet (as ignored only some settings, not whole config entity)
But I got error error
Unexpected error during import with operation update for config_entity_name.machine_name: The entity does not have an ID.

Comments

kiseleva.t created an issue. See original summary.

kiseleva.t’s picture

This patch solves the issue for me.

kiseleva.t’s picture

Status: Needs work » Needs review
botanic_spark’s picture

The patch is solving issue for me.

botanic_spark’s picture

Status: Needs review » Reviewed & tested by the community
bircher’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new1.35 KB

We also need to test this scenario, attached a patch that does so.

  • bircher committed 224ddad on 8.x-2.x
    Issue #3137437 by kiseleva.t, bircher: Handle removing whole...
bircher’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.