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

Add description and hash fields to media asset #1439

Closed
lenaorobei opened this issue Jun 11, 2020 · 1 comment
Closed

Add description and hash fields to media asset #1439

lenaorobei opened this issue Jun 11, 2020 · 1 comment
Assignees
Labels
Backend Priority: P1 Needs to be fixed before any other issues
Milestone

Comments

@lenaorobei
Copy link
Contributor

lenaorobei commented Jun 11, 2020

Story #724: User edits image meta data in Media Gallery
#1183: Magento extracts image meta data from file

Description

  • hashvarchar and description text fields have to be added to the app/code/Magento/MediaGallery/etc/db_schema.xml in magento2 repo
  • db_schema_whitelist.json should be updated accordingly (see documentation)
  • getHash(): string and getDescription(): string methods should be added to the \Magento\MediaGalleryApi\Api\Data\AssetInterface
  • getHash(): string and getDescription(): string methods implementation should be added to the \Magento\MediaGallery\Model\Asset ($description and $hash last optional constructor parameters should be added)
  • The related existing tests should be upaded to cover the new fileds
@m2-assistant
Copy link

m2-assistant bot commented Jun 11, 2020

Hi @lenaorobei. 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: P1 Needs to be fixed before any other issues
Projects
None yet
Development

No branches or pull requests

2 participants