Try our conversational search powered by Generative AI!

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

(Or a related package)

Created

Mar 23, 2017

Updated

Apr 21, 2017

Area

CMS Core

State

Closed, Fixed and tested


Description

Steps to reproduce

  1. Navigate to CMS > Edit.
  2. In the navigation pane, create and publish a page titled 'Test'.
  3. In the asset pane > create a media folder titled 'Test'.
  4. Upload an image to media folder 'Test'.
  5. Delete the 'Test' page from the navigation pane.
  6. Delete the 'Test' folder from the asset pane.
  7. Navigate to the trash bin.
  8. Restore the media folder from the asset pane.
  9. 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".