Perch Importer: image_assetID images not being imported
Hi, I'm running the latest version of Runway (3.1.1)
I'm trying to import perch_events content into a new collection, and the issue I'm having is that images aren't being assigned. I've seen this reported in a couple of posts around a year ago, but can't find a solution on any of them.
I've followed the docs, and I've been abe to import a load of other content successfully. Just snagged on the assets.
My simplified import is:
$Importer->add_item([ 'title' => $event['eventTitle'], 'slug' => '', 'image_assetID' => $event['image']['assetID'], ]);
The template I'm importing into has:
<perch:content id="image" type="image" label="Image" bucket="events">
And the original template I'm importing from has:
<perch:events id="image" type="image" width="640" height="480" label="Image" bucket="events"/>
I wondered if it was to do with the resource being assigned to the events app, but even if I hard code an assetID from a default resource (ie. the resourceApp field in the DB is 'assets') - I still get the issue.
Any help appreciated