These are chat archives for reactioncommerce/reaction

9th
Jun 2018
Michael Duane Mooring
@mikeumus
Jun 09 2018 22:29
Screen Shot 2018-06-09 at 6.26.36 PM.png
Hello, any ideas why Media.findLocal() might not be finding anything even though my variants have media as seen above here ^ ?
I see here in the "Media change" that there is no metadata part of the Media object now so maybe this is what's resulting in an empty lookup. However this is the current code in the Product Detail Simple template so maybe that needs a patch unless it's been patched in RC 1.13.0 already
Michael Duane Mooring
@mikeumus
Jun 09 2018 23:05
Nevermind, that didn't find anything changing it to just variantId instead of metadata.variantId