Unable to retrieve dictionary items by id (DictionaryCacheRefresherNotification) #18157
Open
Description
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
15.1.2
Bug summary
I'm currently working on a custom caching layer for dictionary items, in which I want to use the DictionaryCacheRefresherNotification
. However, this notification only provides the integer id:
Before we were able to retrieve the dictionary items by the id through the ILocalizationService
, but that service is obsolete. The new IDictionaryItemService
only allows to retrieve by Guid
or ItemKey
.
If Umbraco doesn't want to use the integer id's anymore, I think the notification needs to be updated to include the Guid
, ItemKey
or both.
Specifics
No response
Steps to reproduce
See summary
Expected result / actual result
Being able to retrieve the dictionary item based on the object passed in DictionaryCacheRefresherNotification
.