I'm not sure which plugin is at fault here, but here goes. Using the latest version of all plugins, and EE.
I have an Importer task to create entries, from a feed of about 20. One field in this feed is an of images and alt text. This is mapped correctly to a Matrix field, and seemingly importing fine for all entries. See below.
However, for some entries, when attempting to output in templates, these rows in the Matrix field aren't being displayed.
{if '{images:total_rows}'}
{images}
{image_src}
{/images}
{if:else}
no img
{/if}
What's more, using the above code, you'd expect even if there was a problem with mapping, that {images:total_rows}
would return false, and print no img
. This isn't the case, and the whole code is seemingly skipped over.
What makes me think this is an issue with Importer, is if I go to the offending entry, where I can see the rows in the Matrix as above, and re-save that entry (without changing anything) the templating works as expected. Is it somehow possible Importer isn't saving the Matrix field properly after importing?