URL segments verified for uniqueness in trash bin might cause the segment to change when restored
Found in
EPiServer.CMS.Core 10.3.2
Fixed in
EPiServer.CMS.Core 10.8.0
Created
Mar 23, 2017
Updated
Apr 21, 2017
Area
CMS Core
State
Closed, Fixed and tested
Description
Steps to reproduce
- Navigate to CMS > Edit.
- In the navigation pane, create and publish a page titled 'Test'.
- In the asset pane > create a media folder titled 'Test'.
- Upload an image to media folder 'Test'.
- Delete the 'Test' page from the navigation pane.
- Delete the 'Test' folder from the asset pane.
- Navigate to the trash bin.
- Restore the media folder from the asset pane.
- Navigate to the uploaded image in the asset pane and double click to open edit view
Expected: "/globalassets/test/image.png" since there is no conflicting folder "Test"
Actual: When hovering over Download this file under 'Options,' the URL contains a '2', for example, "/globalassets/test2/image.png".