Normalizer\ContentEntityNormalizer has a call to $entity->setNewRevision(FALSE), a non-existent method, which I believe is meant to be a call to $entity->setNewRevision(FALSE), a method on RevisionableInterface.

This patch makes that change.

Comments

johnstorey created an issue. See original summary.

johnstorey’s picture

StatusFileSize
new499 bytes
johnstorey’s picture

Status: Needs review » Needs work

The last submitted patch, 2: changed-method-call-2578187-0-8.x-1.x.patch, failed testing.

The last submitted patch, 2: changed-method-call-2578187-0-8.x-1.x.patch, failed testing.

The last submitted patch, 2: changed-method-call-2578187-0-8.x-1.x.patch, failed testing.

The last submitted patch, 2: changed-method-call-2578187-0-8.x-1.x.patch, failed testing.

Status: Needs work » Needs review
timmillwood’s picture

Status: Needs review » Closed (works as designed)
+++ b/src/Normalizer/ContentEntityNormalizer.php
@@ -332,7 +332,7 @@ class ContentEntityNormalizer extends NormalizerBase implements DenormalizerInte
+      $entity->setNewRevison(FALSE);

This patch changing from an existing method (https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Revisionab...) to a non-existant one.

Status: Closed (works as designed) » Needs work

The last submitted patch, 2: changed-method-call-2578187-0-8.x-1.x.patch, failed testing.

timmillwood’s picture

Status: Needs work » Closed (works as designed)

Stupid testbot :D