Page 1 of 1

InsertAndUpdateNodes Wants Parent node to have all the same children

Posted: November 29th, 2022, 4:42 pm
by CathyC
We encountered an issue in an older version of 5.1 and I wanted to record it if someone could test if its in a newer version.

We have an array of items. There are some results that have certain attributes, but others dont have those same attributes.

So like:

Item
  • Quantity
  • PackSize
  • Availability
  • Description
  • Price
Item
  • Quantity
  • Description
We can see the different results with their children before the InsertAndUpdateNodes, but after, they all have the same children:

Item
  • Quantity
  • Description
Item
  • Quantity
  • Description

So it has deleted the attributes from the result that had more children. We are thinking it has to do with the insertandupdatenodes wants the parent node to have the same children nodes, so if some rows are missing a child, then InsertAndUpdateNode makes it so others don't have that child as well
Not sure if that's how InsertAndUpdateNode actually works

Nathan encountered this issue and could explain more if needed

Re: InsertAndUpdateNodes Wants Parent node to have all the same children

Posted: November 29th, 2022, 10:35 pm
by CathyC
note, this is attribute in concept, not XML attributes