Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Product media_gallery_entries / types only present if image, thumbnai… #718

Merged
merged 4 commits into from
Jun 19, 2019

Conversation

XxXgeoXxX
Copy link
Member

…l, small_image is requested

Description (*)

Original Issue #612

lib/internal/Magento/Framework/Model/AbstractModel.php doesn't add gallery attributes to the collection by default.
According to documentation gallery attributes must always include(MediaGalleryEntry: Array of image types. It can have the following values: image, small_image, thumbnail).
https://devdocs.magento.com/guides/v2.3/graphql/reference/products.html

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

@lenaorobei lenaorobei changed the base branch from 2.3-develop to 2.3-develop-plus-pr13-and-pr48 June 12, 2019 16:47
@lenaorobei lenaorobei changed the base branch from 2.3-develop-plus-pr13-and-pr48 to 2.3-develop June 12, 2019 16:48
@magento magento deleted a comment from magento-cicd2 Jun 12, 2019
@ghost
Copy link

ghost commented Jun 19, 2019

Hi @XxXgeoXxX, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants