Issue with matrix blocks containing table flieds
I'm running into a problem when I am trying to import a set of matrix blocks all containing a table with multiple rows. It seems to find all the data, but only import one row per table.
Groups -> Group is a matrix block, and Ingredients -> Ingredient is a row in the table field. As you can see from the screenshots only the frist element in ingredients is imported.
<?xml version="1.0" encoding="UTF-8" ?>
<recipies>
<recipie>
<status>live</status>
<created>2018-10-04</created>
<title>Karamellpudding med bær, krem og ristede nøtter</title>
<image>https://wwwsomeimageurl.com/168312_181004_104141.jpg</image>
<dish>Dessert</dish>
<time />
<portions>1</portions>
<concept />
<groups>
<group>
<title>Sauce</title>
<ingredients>
<ingredient>
<title>Sukker</title>
<amount>1.00</amount>
<unit>dl</unit>
</ingredient>
<ingredient>
<title>Melk</title>
<amount>6.00</amount>
<unit>dl</unit>
</ingredient>
</ingredients>
</group>
<group>
<title>Sukkersaltede nøtter og frø</title>
<ingredients>
<ingredient>
<title>Sesamfrø</title>
<amount>1.00</amount>
<unit>ss</unit>
</ingredient>
<ingredient>
<title>Gresskarkjerner</title>
<amount>3.00</amount>
<unit>ss</unit>
</ingredient>
</ingredients>
</group>
</groups>
</recipie>
</recipies>
I have tried structuring the XML a bit different without the groups or ingredients parent element, but nothing seems to work:
<?xml version="1.0" encoding="UTF-8"?>
<recipies>
<recipie>
<status>live</status>
<created>2018-10-04</created>
<title>Karamellpudding med bær, krem og ristede nøtter</title>
<image>https://wwwsomeimageurl.com/168312_181004_104141.jpg</image>
<dish>Dessert</dish>
<time />
<portions>1</portions>
<concept />
<group>
<title>Sauce</title>
<ingredient>
<title>Sukker</title>
<amount>1.00</amount>
<unit>dl</unit>
</ingredient>
<ingredient>
<title>Melk</title>
<amount>6.00</amount>
<unit>dl</unit>
</ingredient>
</group>
<group>
<title>Sukkersaltede nøtter og frø</title>
<ingredient>
<title>Sesamfrø</title>
<amount>1.00</amount>
<unit>ss</unit>
</ingredient>
<ingredient>
<title>Gresskarkjerner</title>
<amount>3.00</amount>
<unit>ss</unit>
</ingredient>
</group>
</recipie>
</recipies>
Matrix field:

FeedMe:

FeedMe Pro version: 4.1.0 Craft CMS 3.1.26
Wondering if you managed to find a solution for this. Currently also a blocker I'm struggling with.
I’ve reviewed and tested the structure, and it’s incorrect. You can follow this structure.
<recipies>
<recipie>
<status>live</status>
<created>2018-10-04</created>
<title>Karamellpudding med bær, krem og ristede nøtter</title>
<image>https://wwwsomeimageurl.com/168312_181004_104141.jpg</image>
<dish>Dessert</dish>
<time/>
<portions>1</portions>
<concept/>
<groups>
<title>Sauce</title>
<ingredients>
<ingredient>
<title>Sukker</title>
<amount>1.00</amount>
<unit>dl</unit>
</ingredient>
<ingredient>
<title>Melk</title>
<amount>6.00</amount>
<unit>dl</unit>
</ingredient>
</ingredients>
</groups>
<groups>
<title>Sukkersaltede nøtter og frø</title>
<ingredients>
<ingredient>
<title>Sesamfrø</title>
<amount>1.00</amount>
<unit>ss</unit>
</ingredient>
<ingredient>
<title>Gresskarkjerner</title>
<amount>3.00</amount>
<unit>ss</unit>
</ingredient>
</ingredients>
</groups>
</recipie>
</recipies>