Incorrect validation for media items that do not have marketing assets

All media items under the Media Library root are considered as marketing items. An exception occurs when trying to upload, copy, create, rename, or save an item containing any other characters in the name except for letters, digits, dashes, or underscores. Marketing operation functionality enforces marketing item name restrictions that do not take into account the ItemNameValidation setting. The ItemEventHandler class does not check if media items have marketing assets before validation.

To fix the issue in Sitecore XP releases starting from version 9.1.0, download and apply the hotfix for the affected Sitecore version. Before installation, ensure that there are no other hotfixes installed, except the one to be installed.

Be aware that the hotfixes were built for specific Sitecore XP versions, and must not be installed on other Sitecore XP versions or in combination with other hotfixes. In case any other hotfixes have already been installed on certain Sitecore XP instance, send a request for compatibility check to Sitecore Support.