We successfully migrated a huge multi-store site from
magento-2.1.6 last week using Magento migration tool. After migration, we notice that categories are not listing any products although products are there all set in admin. Also we reindexed everything but the issue still remain there until we put the media folder from
magento1.9.3 to migrated
We've checked this issue and it seems that
Magento\Catalog\Block\Category\View::getProductListHtml() function returns empty product listing html when there is not media with product images.
The case is not same with other magento stores as having a blank media only replaces the placeholders images. My question is, why it is necessary for me to place the old media folder will all images in order to render the products list successfully under categories?
PS: permissions are set properly for pub, no custom module is overriding any class, all the commands (static content, reindex, cacha clean, di compilation) ran completely.