## Problem
We found that new entities being created were causing this module to error, as they do not have ids.

## Environment
- Drupal: [e.g. 10.4.x]
- PHP: [e.g. 8.3]
- migrate_forward_draft: [version / branch]
- Content moderation: [yes/no; workflow name if yes]

## Migration
- Destination plugin: [e.g. entity_with_forward_draft:node]
- migration_sync: [true/false]
- forward_revision_overwrite_properties: [list or “empty”]
- Other notable destination keys: [overwrite_properties, default_bundle, …]

## Reproduction
1. [Step 1 — entity state before migrate, e.g. default vs forward draft]
2. [Step 2 — migration run / drush command]
3. [Step 3 — observed result]

## Expected
Null destination IDs should be treated as a row creation (skip carry-forward logic)

## Actual
Error attempting to treat the row as an update (carry-forward logic on non-existing row)

## Attachments
- [ ] Reduced migration YAML snippet (no secrets)
- [ ] Screenshots or Drush/log excerpts if useful

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

skyriter created an issue. See original summary.

zachbutton made their first commit to this issue’s fork.

zachbutton’s picture

Issue summary: View changes
skyriter’s picture

I was able to test this and found it working without issue.

coderdan’s picture

Version: 1.0.0 » 1.0.1
Assigned: Unassigned » zachbutton
Status: Active » Fixed

Thank you for finding the bug and getting it tested!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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