Problem/Motivation

The current implementation does not retain previously selected media types when selecting a different media type within the same category.

Steps to reproduce

  1. Enable the Acquia DAM module.
  2. Authenticate and authorize the user.
  3. Navigate to the Bulk Import page (/admin/config/acquia-dam/bulk-import).
  4. Attempt to add multiple media types sequentially within the same category.

Please refer to the screenshot for the discrepancy in the display and the message.
bulk-import-category-selection

Proposed resolution

Ensure that previously selected media types remain visible when selecting a different media type within the same category.

Would like to suggest a modification to the current asset import process. Instead of importing assets at the moment a form is saved, we propose implementing the import functionality via a scheduled cron job.

This adjustment aims to enhance system performance and reliability during the import process. We believe this change could lead to more efficient resource management and a smoother user experience.

Issue fork acquia_dam-3501895

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

vipin.mittal18 created an issue. See original summary.

japerry’s picture

The importer tool does say under the category selection text:

"List of categories in the remote DAM system available for the authorized user account. Please choose which of them the media assets should be imported from. When adding the same category multiple times, only the last row of them will be considered and saved. "

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

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

deepakkm changed the visibility of the branch 3501895-bulk-import-existing to hidden.

rajeshreeputra changed the visibility of the branch 3501895-bulk-import-existing to active.

rajeshreeputra changed the visibility of the branch 3501895-bulk-import to hidden.

rajeshreeputra changed the visibility of the branch 3501895-bulk-import to active.

deepakkm changed the visibility of the branch 3501895-bulk-import-existing to hidden.

deepakkm’s picture

Status: Active » Needs review
deepakkm’s picture

Kindly review MR !118

ankitv18’s picture

Left few suggestions on the MR.
Keeping this in a NR state for other to provide inputs.

rajeshreeputra’s picture

Rebased MR!116.

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

chandu7929 changed the visibility of the branch 3501895-bulk-import to hidden.

rajeshreeputra’s picture

Issue summary: View changes

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

  • japerry committed 62440355 on 1.1.x authored by chandu7929
    Issue #3501895: Bulk Import: Existing media type not visible when...
japerry’s picture

Status: Needs review » Fixed

Tested well, looks good. Added an update hook for the new logger channel service and committed.

Status: Fixed » Closed (fixed)

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

rajeshreeputra’s picture

Category: Bug report » Feature request