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
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
Comment #3
mably commentedComment #5
mably commented