Problem/Motivation
public function __construct(AcquiaDamClientFactory $client_factory, MessengerInterface $messenger) {
$this->damClient = $client_factory->getSiteClient();
$this->messenger = $messenger;
When using a site that has Canvas and Modeler API this causes a circular dependency as `acquia_dam.asset_version_resolver` gets double constructed:
1. During Page base fields
2. Listing extensions causes system listing and JSON:API routes construct this object
Steps to reproduce
Proposed resolution
Keep a light weight constructor
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork acquia_dam-3553452
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
mglamanComment #5
japerry