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

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

mglaman created an issue. See original summary.

mglaman’s picture

Status: Active » Needs review

japerry made their first commit to this issue’s fork.

japerry’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.

Status: Fixed » Closed (fixed)

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