You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
This seems to be a recent regression. Adding the same template part to a page twice will cause both to be removed from the page. Navigating through the page content (up and down arrows) may then also trigger the same bug noted in #22638.
To reproduce
Steps to reproduce the behavior:
Go to the editor (page editor shown below) with full site editing experiment enabled.
Add a template part.
Add the same template part again.
See that both template parts are removed from the page. Scroll (up and down arrows) through page content to see some 'funky' behavior and additionally trigger dirty state of the template part to have cleared all of its content (second part likely related to Removing a Template Part dirties the entity state with inner content removed. #22638) .
Expected behavior
Expected both template parts to remain (previous behavior). Or if we are iterating to prevent that, at least 1 should remain and a notification should occur.
Describe the bug
This seems to be a recent regression. Adding the same template part to a page twice will cause both to be removed from the page. Navigating through the page content (up and down arrows) may then also trigger the same bug noted in #22638.
To reproduce
Steps to reproduce the behavior:
Expected behavior
Expected both template parts to remain (previous behavior). Or if we are iterating to prevent that, at least 1 should remain and a notification should occur.
Screenshots

Since this is a recent regression, perhaps @epiqueras, @youknowriad, @noahtallen, @vindl, @ockham, or others may have an idea of where this could originate from?