silverstripe-cms icon indicating copy to clipboard operation
silverstripe-cms copied to clipboard

If a drag and drop reordering validation error occurs, a successful reorder duplicates the node

Open robbieaverill opened this issue 5 years ago • 0 comments

Version: SS 4.3.0-rc1 (in CWP 2.2.0-rc1 context)

  • Create a page
  • Drag to reorder the page under a parent which won't allow it as a child (in CWP I'm dragging a Registry Page to be a child of a Event Holder page)
  • Validation error is shown
  • Drag the same page to underneath another valid page type (e.g. Page)

Reordering is successful, but the node is now duplicated in the tree:

image

Note that this issue multiplies every time the validation fails and is then reordered successfully again:

image

image

robbieaverill avatar Nov 12 '18 11:11 robbieaverill