MovingContent and MovedContent isn't different when removing a content

Found in

EPiServer.CMS.UI 9.7.0

Fixed in

EPiServer.CMS.Core 10.0.1

Created

Jul 19 2016

Updated

Oct 27 2016

Area

CMS Core

State

Closed, Fixed and tested


Description

Description:
If you listen to the IContentEvents when moving a page to the wastebasket, the "IsDeleted" isn't changed between the MovingContent and the MovedContent.

Steps to reproduce:
1. Set up events for MovingContent and MovedContent from IContentEvents.
2. Set a breakpoint on both events and trigger a move of a page by putting a page in the waste bin.
3. Look at the Content property of the ContentEventArgs parameter.

Expected:
The MovedContent event shows how the content looks after it was saved. That is, it should have an IsDeleted property set to _true _, and the Changed date and the ParentLink should be changed

Actual:
They are identical.