Problem/Motivation

If the entity is new, it's been saved already by the ImportService, and then the Revision processor needs to set it to NOT create a new revision, as otherwise, we'd start a new entity with 2 revisions.

Therefore, this causes the RevisionAuthor process to give up:

    if (!$processed_entity->isNewRevision()) {
      return;
    }

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

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

joachim created an issue. See original summary.

joachim’s picture

Status: Active » Needs review

joachim’s picture

Status: Needs review » Fixed

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

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

Maintainers, please credit people who helped resolve this issue.

  • joachim committed f05c3ce4 on 4.0.x
    [#3548399] fix: RevisionAuthor processor doesn't work on new entities...

  • joachim committed 66df93f1 on 8.x-3.x
    [#3548399] fix: RevisionAuthor processor doesn't work on new entities...

Status: Fixed » Closed (fixed)

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