Newly created folder not selected in media gadget when editing media inside it

Fixed in

EPiServer.CMS.UI 11.24.0

Created

Feb 05, 2020

Updated

Apr 01, 2020

Area

CMS UI

State

Closed, Fixed and tested


Description

Steps to reproduce

1. Select the root folder "For all sites" and create a new folder.
2. Select a folder with a media asset and select an asset.
3. Open the context menu and press edit.

Expected:
In the selected folder, the media should be highlighted.

Actual:
The "For all sites" folder becomes highlighted.

> This only happens when creating a new folder from the root.