Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Populate media asset description when saving image from adobe stock #1495

Closed
sivaschenko opened this issue Jun 18, 2020 · 1 comment · Fixed by #1596
Closed

Populate media asset description when saving image from adobe stock #1495

sivaschenko opened this issue Jun 18, 2020 · 1 comment · Fixed by #1596
Assignees
Labels
Backend Priority: P2 Should be fixed as early as possible Progress: done
Milestone

Comments

@sivaschenko
Copy link
Member

sivaschenko commented Jun 18, 2020

Story: #724

Preconditions (*)

  1. Install Magento 2.4-develop with ASI 2.0-develop
  2. Enable and Configure Adobe Stock Integration in the Stores -> Configuration -> System -> Adobe Stock Integration

Steps to reproduce (*)

  1. Login to Admin panel
  2. Open the media gallery. I.e. from the Catalog -> Category -> Content fieldset -> Select image from gallery
  3. Click "Search Adobe Stock" button
  4. Click on any image to open the image preview panel
  5. Click "License"/"Save Licensed" button
  6. Confirm the image name in the popup

Expected result (*)

The images information should be saved to the media_gallery_asset table. The description filed should be populated with the information provided from Adobe Stock

Technical Details

Use the \Magento\MediaGalleryMetadataApi\Api\ExtractMetadataInterface to retrieve the metadata

@sivaschenko sivaschenko added Backend Priority: P2 Should be fixed as early as possible labels Jun 18, 2020
@sivaschenko sivaschenko added this to the 2.1.0 milestone Jun 18, 2020
@m2-assistant
Copy link

m2-assistant bot commented Jun 18, 2020

Hi @sivaschenko. Thank you for your report.
To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Priority: P2 Should be fixed as early as possible Progress: done
Projects
None yet
2 participants