audit_trail #3620335 renames its one write method, AuditTrailInterface::event(), to record(). Pre-1.0, so there is no BC layer and no deprecation shim: the old name is gone.

orchestra_audit_trail calls it:

- modules/orchestra_audit_trail/src/EventSubscriber/OrchestraAuditTrailSubscriber.php:173 - the call
- two docblocks naming AuditTrailInterface::event()
- eight ->method('event') expectations in OrchestraAuditTrailSubscriberTest, which is what would catch this in CI

Once audit_trail 1.x carries the rename, that call raises Error: Call to undefined method Drupal\audit_trail\AuditTrail::event(). It is an event subscriber, so the failure surfaces inside the host operation rather than at cache rebuild.

Deploy order matters. audit_trail must not be deployed ahead of this module: merge audit_trail #3620335 first, then this, and deploy them together.

No behaviour change. The method name is the whole diff.

AI-Generated: Yes (Claude Code found the call sites and drafted this issue and the merge request against it. I reviewed both.)

Issue fork orchestra-3622325

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

mably created an issue. See original summary.

mably’s picture

Status: Active » Needs review

  • mably committed cd065a62 on 1.x
    task: #3622325 Follow audit_trail's write API rename: event() becomes...
mably’s picture

Status: Needs review » Fixed

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.