You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I imagine this is a extreme edge case but I’ve managed to hit it a few times when I was testing the lib on a client project.
import a products csv with one row for the Master product and 1+ rows for its Variants
delete the Master Product in the console
rerun the import. The Master product row will be created, but the Variant rows will fail with Validation failed: Product must exist, Product can't be blank
Maybe we could tweak this line a bit so that it checks if the Product exists and, if not, assign context[:product] to it?
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It might be closed if no further activity occurs. Thank you for your contributions.
I imagine this is a extreme edge case but I’ve managed to hit it a few times when I was testing the lib on a client project.
Maybe we could tweak this line a bit so that it checks if the Product exists and, if not, assign
context[:product]
to it?The text was updated successfully, but these errors were encountered: