Open liamgold opened 2 weeks ago
In previous versions of Kentico you can remap media libraries to a custom location, using the setting CMSMediaLibrariesFolder.
CMSMediaLibrariesFolder
The current implementation for building up the path to the media library will fail if you've changed this setting.
For example, if you have it configured for ExampleSite_Media then it will produce the following:
ExampleSite_Media
// Broken path: C:\Projects\Example\CMS\ExampleSite\media\Media // Correct path: C:\Projects\Example\CMS\ExampleSite_Media\ExampleSite\Media
Respect the KX13 sites' CMSMediaLibrariesFolder setting when resolving paths for media libraries.
@liamgold thank You for report, I will look into it.
Brief bug description
In previous versions of Kentico you can remap media libraries to a custom location, using the setting
CMSMediaLibrariesFolder
.The current implementation for building up the path to the media library will fail if you've changed this setting.
For example, if you have it configured for
ExampleSite_Media
then it will produce the following:Repro steps
Expected behavior
Respect the KX13 sites'
CMSMediaLibrariesFolder
setting when resolving paths for media libraries.