Problem/Motivation

When an entity is soft-deleted, calling $storage->getLatestRevisionId() with the ignore trash context then calling it again with the active context returns stale (cached) and incorrect results.

Issue fork trash-3561099

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

amateescu created an issue. See original summary.

amateescu’s picture

Status: Active » Needs review

This bug was initially found by @twod in #3376216: Translation support, so credited for that :)

  • amateescu committed eff996f2 on 3.1.x
    fix: #3561099 Trash doesn't handle the static entity cache properly when...
amateescu’s picture

Status: Needs review » Fixed

Merged!

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.