Skip to content

Unable to retrieve dictionary items by id (DictionaryCacheRefresherNotification) #18157

Open
@jveer

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:
Image

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.

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions