Orphaned children in set if parent is revisionable but has no parent field
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #2855095. --> Reported by: [larowlan](https://www.drupal.org/user/395439) >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>When the parent bundle is revisionable, but has no parent field of its own - saving a new revision of the parent causes the children to be lost in the nested set if you use the node key factory to turn the parent entity into a NodeKey, and then use that to query the storage.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Fix it</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>All</p> <h3 id="summary-ui-changes">User interface changes</h3> <p>None</p> <h3 id="summary-api-changes">API changes</h3> <p>None</p> <h3 id="summary-data-model-changes">Data model changes</h3> <p>TBC</p>
issue