Problem/Motivation

The current Digital Asset Management (DAM) system lacks the capability to track changes when the finalized version of an asset is modified, unlike its support for metadata updates and new version uploads. As a result, this module necessitates manual intervention of clicking "Check for Update" rather than automation through a cron job.

Proposed resolution

Provide a Drush command to update assets as needed, instead of relying on the cron run or manual click on "Check for Update"/"Sync metadata".

Command Help

drush command update

Points to Notice

One point to note is that this call can be expensive or resource-intensive, especially if a large number of assets have finalized version changes. This will only occur the first time until all assets are queued. However, if this runs regularly, changes to large assets finalized version will be rare.

Issue fork acquia_dam-3540159

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

rajeshreeputra created an issue. See original summary.

rajeshreeputra’s picture

Status: Active » Needs review

Requesting an early review.
Note: These commands can be further improved.

vipin.mittal18’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new721.16 KB
new541.27 KB

This is working as expected. The finalized version updates in the Acquia DAM system, and the Drush command retrieves the finalized version without needing to manually click the “Check for update” button each time.
Finalized version drush command

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

japerry’s picture

Status: Reviewed & tested by the community » Fixed

Committing so we can get this into the next release. However, it'd be good to follow up with some tests to verify its functionality beyond a cursory review.

Status: Fixed » Closed (fixed)

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