Skip to content

Product edit page crashes if product image is not present #7086

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
giacmir opened this issue Oct 19, 2016 · 5 comments
Closed

Product edit page crashes if product image is not present #7086

giacmir opened this issue Oct 19, 2016 · 5 comments
Labels
bug report Component: Catalog Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@giacmir
Copy link
Member

giacmir commented Oct 19, 2016

2.1.2 backend crashes with the following error: Cannot gather stats! Warning!stat(): stat failed for <filename> when you try to edit a product and its image is not present into filesystem.

Since this is a very frequent case in development and/or debugging it should not happen.

Preconditions

  1. Magento 2.1.2
  2. php 7

Steps to reproduce

  1. Create a product with image
  2. Delete image file from file system
  3. Try to edit product from admin

Expected result

  1. Product is editable

Actual result

  1. Edit form doesn't show up
@sevos1984
Copy link
Contributor

Internal ticket MAGETWO-59880, thanks for reporting

@sevos1984 sevos1984 added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Oct 19, 2016
@olysenko
Copy link

issue is fixed. closed as an duplicate of the 5871

@Ctucker9233
Copy link

@olysenko is there a commit reference?

@olysenko
Copy link

Yes, in 5871 you can find the commit reference

@Ctucker9233
Copy link

@olysenko I actually had a questions about this commit. Can you take a look and maybe answer it?

magento-engcom-team pushed a commit that referenced this issue Sep 15, 2021
[Trigger] Update html templates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Component: Catalog Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests

5 participants