- Issue created by @rex.barkdoll
Hi, I was running into a weird issue where items are being imported, but there's some kind of duplication happening and then the wrong entity is being assigned to the main content node being created (described at the bottom). I wanted to see if the instructions in the Readme and the module page could be updated to be made more clear so that other users don't run into the same issue I did.
NOTE: This plugin does work with the S3FS module for anyone using S3 to store/serve their files.
In addition to updating the instructions with the above, please create an error handler in the code for when someone chooses something other than Reference by: ID on the mapping page. Choosing Reference by: Name does create the new media entities, but it also creates additional entities with no media attached and the file name is the ID of the correctly created media entities. (screenshot attached) The bad entities are the ones that get associated with the new nodes created and so you think that the media entities weren't created or something else went wrong. When you then look at the Media page, you find out you've created 2x as many media entities as you need and only half of them actually contain the files you're looking for.
In the screenshot, 3633 refers to the ID for the 100most.png image, whose media URL is /media/3633/edit
3634 refers to images_large_...
3631 refers to savestaffing.png
3632 refers to joel_bissell_mlive.jpg
Active
1.0
Code