[
https://issues.apache.org/jira/browse/SLING-13394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joerg Hoh resolved SLING-13394.
-------------------------------
Fix Version/s: i18n 3.0.2
Resolution: Fixed
> Avoid full i18n reloads for changes within known dictionaries
> -------------------------------------------------------------
>
> Key: SLING-13394
> URL: https://issues.apache.org/jira/browse/SLING-13394
> Project: Sling
> Issue Type: Task
> Affects Versions: I18N Support 2.6.6, i18n 3.0.0
> Reporter: Joerg Hoh
> Assignee: Joerg Hoh
> Priority: Major
> Fix For: i18n 3.0.2
>
>
> h3. Problem:
> The new-dictionary detection also matches ordinary message entries inside
> known dictionaries, promoting otherwise targeted refreshes to full reloads.
> Unrelated locales incur unnecessary loading and service disruption.
> For example, updating `sling:message` on an existing `sling:MessageEntry` at
> `/apps/i18n/de/checkout-label` initially identifies the cached German bundles
> as affected. The subsequent entry-type check nevertheless treats the resource
> as a new dictionary entry and requests a full reload. French bundles are
> rebuilt too, even though neither their own entries nor their English fallback
> changed.
> h3. Change
> Distinguish edits inside known dictionaries from changes requiring dictionary
> rediscovery. Refresh affected bundles and their dependents for known entry
> edits. Preserve broader refreshes for unknown dictionaries and changes to
> dictionary roots, locale, or basename. Respect path boundaries and filters.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)