Skip to content

Media manager bad behaviour #3484

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

Closed
jaimestuardo opened this issue Feb 19, 2016 · 5 comments
Closed

Media manager bad behaviour #3484

jaimestuardo opened this issue Feb 19, 2016 · 5 comments
Labels
Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Progress: needs update

Comments

@jaimestuardo
Copy link

Hello,

This issue is really getting me crazy. When editing a product in backend, with 5 pictures, sometimes, only the base picture is shown in pictures list and sometimes all pictures are ahown. When that happen, I am afraid to save the product thinking that maybe all pictures will be removed from the product but the first one.

I check in database, and product pictures are in fact assigned to the product. I don't know why sometimes only 1 picture is shown and sometimes all pictures are shown.

Please, test this feature deeply.

This screenshot shows only 1 product:

product_pictures_bad

And you could see this in database (above picture shows product whose ID is 1). (note that there are 3 media files that are not shown, and they correspond to videos)

product_images_db

And after several refreshes, I could finally make the page to show all images:

product_pictures_good

Regards
Jaime

@AurelienLavorel
Copy link
Member

Hi,
I have the same issue and also got log in system.log :

main.CRITICAL: Warning: Invalid argument supplied for foreach() in app/code/Magento/Catalog/Block/Product/View/Gallery.php on line 112 [] []
main.CRITICAL: Warning: Invalid argument supplied for foreach() in app/code/Magento/ProductVideo/Block/Product/View/Gallery.php on line 52 [] []

@wert2all
Copy link
Contributor

Please, provide the used Magento version.

@veloraven
Copy link
Contributor

According to contributor guide, tickets without response for two weeks should be closed.
If this issue still reproducible please feel free to create the new one: format new issue according to the Issue reporting guidelines: with steps to reproduce, actual result and expected result and specify Magento version.

@vincentwinkel
Copy link

Each time we have a problem with Magento2 (actually 10 times per day), we see a lot of people in the same situation since several months / years, and you just close the tickets without fixing anything.
Stats to be pathetic...

@magento-engcom-team magento-engcom-team added the Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed label Oct 9, 2017
@AurelienLavorel
Copy link
Member

Magento ver. 2.2.0-dev, since the Magento ver. 2.1.0-dev

magento-engcom-team pushed a commit that referenced this issue Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Progress: needs update
Projects
None yet
Development

No branches or pull requests

9 participants