You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Joerg Hoh (Jira)" <ji...@apache.org> on 2026/10/19 10:32:00 UTC
[jira] [Assigned] (SLING-13392) Stale fallback translations after resource bundle refresh with preloading enabled
[ https://issues.apache.org/jira/browse/SLING-13392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joerg Hoh reassigned SLING-13392:
---------------------------------
Assignee: Joerg Hoh
> Stale fallback translations after resource bundle refresh with preloading enabled
> ---------------------------------------------------------------------------------
>
> Key: SLING-13392
> URL: https://issues.apache.org/jira/browse/SLING-13392
> Project: Sling
> Issue Type: Task
> Affects Versions: I18N Support 2.6.6, i18n 3.0.0
> Reporter: Joerg Hoh
> Assignee: Joerg Hoh
> Priority: Major
>
> With {{preload.bundles=true}}, an individual resource bundle refresh can leave dependent locales using stale fallback translations, even after the refresh has completed.
> For example, English defines {{checkout.label = "Checkout"}}, while {{de}} and {{de_DE}} have no translation for that entry and inherit the English value. After the English value changes to {{"Proceed to checkout"}} and the English bundle is refreshed, English requests return the updated text, but German and German-country requests can continue returning {{"Checkout"}}.
> The refresh rebuilds dependent bundles before their parents. Newly created dependent bundles therefore retain references to the previous parent instances. Replacing the parent in the provider cache does not update these references.
> *Expected behavior*
> After a successful refresh, subsequent bundle lookups for affected locales should resolve updated parent and fallback translations while preserving locale-specific overrides.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)