Problem/Motivation

Bulk asset import tool in acquia_dam allows selecting one or more categories to bulk import to Drupal. However, it appears to match categories based on a partial match, so, for example, selecting a category named “Test” will also import all the assets in a different category named “Testing.”

Steps to reproduce

  • Spin up a Drupal site and install latest acquia_dam (tested on 1.1.7).
  • Configure the module to connect to DAM
  • Enable bulk asset import submodule and select category “Test” (tested with laser DAM instance)
  • Run cron
  • Assets from categories other than the one selected are imported as media entities in Drupal.

Proposed resolution

update with cat:({$category_name}) for Categories and also for asset group

Issue fork acquia_dam-3556644

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

ankitv18 created an issue. See original summary.

ankitv18’s picture

Status: Active » Needs review
rajeshreeputra’s picture

Status: Needs review » Reviewed & tested by the community

Changes looks good to me.

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

amangrover90’s picture

Status: Reviewed & tested by the community » 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.