Problem/Motivation

The logic of checking orphaned node should scan the node's current revision body field instead of the latest revision body field.

I am going to upload the patch soon.

Steps to reproduce

Proposed resolution

@@ -575,7 +554,7 @@ EOT;
     $and1 = $query->orConditionGroup()
       ->condition('body', $uuid, 'CONTAINS');
     $query->condition($and1);
-    $nids = $query->latestRevision()->execute();
+    $nids = $query->execute();
     if (!empty($nids)) {
       return TRUE;
     }

Remaining tasks

User interface changes

API changes

Data model changes

Comments

jamesyao created an issue. See original summary.

jamesyao’s picture

StatusFileSize
new415 bytes
joseph.olstad’s picture

looks good Jamesyao, nice work, I'll cut a new release later today.

joseph.olstad’s picture

Status: Active » Reviewed & tested by the community
jamesyao’s picture

Thanks @joseph.olstad for reviewing the patch. Much appreciated!

joseph.olstad’s picture

Status: Reviewed & tested by the community » Fixed
joseph.olstad’s picture

Status: Fixed » Closed (fixed)

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