This is somewhat related to #1948186: Allow specific revisions to be deployed, where the last published revision of an entity was being deployed regardless of whether a different revision was specified.

EntityDependencyIterator->hasChildren() invokes entity_load without passing $current['revision_id'] as a condition. Also, when an entity has dependencies, the parent gets moved to the end of $this->entities, sans revision_id.

Comments

reevo’s picture

And here's the patch.

spotzero’s picture

Status: Active » Needs review

This patch is being used successfully in the Wetkit Drupal distributions.

dixon_’s picture

Issue summary: View changes
Status: Needs review » Active
Issue tags: +Needs tests

Committed the patch. Thanks!

But I'm leaving this open since we should provide tests for this new functionality.

dixon_’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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