InsertAndUpdateNodes Wants Parent node to have all the same children

This forum allows users to post and respond to "How Do I Do ....." questions. The information contained in this forum has not been validated by K-Rise Systems and, as such, K-Rise Systems cannot guarantee the accuracy of the information.
Post Reply
CathyC
Posts: 472
Joined: November 16th, 2021, 11:15 am
Contact:

InsertAndUpdateNodes Wants Parent node to have all the same children

Unread post 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
word count: 158

Tags:
CathyC
Posts: 472
Joined: November 16th, 2021, 11:15 am
Contact:

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

Unread post by CathyC »

note, this is attribute in concept, not XML attributes
word count: 9
Post Reply